9

Vim で SuperTab を有効にしたばかりですが、空白行をインデントしようとすると、SuperTab が文字列を挿入しようとします。私が望むのは、カーソルの左側に空白以外がある場合にのみSuperTab が補完を提供するようにすることです。

Ctrl-V や Ctrl-Q などを使用する必要はありません。

4

2 に答える 2

11

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.

See comments to OP for more information.

于 2013-05-14T17:35:02.173 に答える
0

msanders/snipmate.vim はスーパータブと競合します。

Snipmate の代わりに ultisnips を使用できます

https://github.com/SirVer/ultisnips

于 2015-03-18T00:36:43.763 に答える