如何使用启用与SUPERTAB VIM Tab键缩进? [英] How can I use the Tab key to indent in vim with SuperTab enabled?

查看:452
本文介绍了如何使用启用与SUPERTAB VIM Tab键缩进?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚启用SUPERTAB在vim,如果我试图缩进一个空行,SUPERTAB尝试插入字符串。我想,我想,将是有SUPERTAB报价落成的只有的,如果有非空白光标的左侧。

I've just enabled SuperTab in vim, and if I try to indent a blank line, SuperTab is attempting to insert strings. What I'd like, I guess, would be to have SuperTab offer completions only if there is non-whitespace to the left of the cursor.

我不希望有使用Ctrl-V或Ctrl-Q或任何东西。

I don't want to have to use Ctrl-V or Ctrl-Q or anything.

推荐答案

这可以由旧版本snipmate引起的,更新到的分叉版本通过加尔加斯维护。结果
它有相当多的依赖关系,所以我建议你使用 Vundle 如果你不是已经在使用它。

This could be caused by an old version of snipmate, update to the forked version maintained by Gargas.
It has quite a few dependencies so I'd recommend using Vundle if you're not already using it.

查看评论OP获取更多信息。

这篇关于如何使用启用与SUPERTAB VIM Tab键缩进?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆