Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1271516
  • 博文数量: 482
  • 博客积分: 13297
  • 博客等级: 上将
  • 技术积分: 2890
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-12 16:25
文章分类

全部博文(482)

文章存档

2012年(9)

2011年(407)

2010年(66)

分类: LINUX

2011-09-19 10:06:37

powentan

On 8月10日, 下午12時32分, Wu Liang wrote:

> 谢谢!
> > 2009/8/10 Wu Liang :

> > 装了一个插件snipMate(用于代码补全的),但貌似tab键和supertab.vim有冲突(supertab.vim我也装

You may set the g:SuperTabMappingForward="" to avoid conflict
between supertab and snipMate.
i.e. add following line in the .vimrc

let g:SuperTabMappingForward=""

When you input a "tab", it will

1. check whether there is a snipMate snippet match the pattern.

2. if there is no snipMate snippet match the pattern, it will use
supertab instead.

enjoy and have fun !!

Powen
====

阅读(2845) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

Alan05212011-09-19 10:07:56

let SuperTabMappingForward="<Tab>"
let SuperTabMappingBackward="<S-Tab>"