I have just started using vim and am using an existing .vimrc and .gvimrc. It works great, except the Tab key doesn't tab...it brings up a code completion plug-in. I don't know where to start as I am brand new to vim. How can I make the Tab key generate a tab???
Asked
Active
Viewed 4,269 times
2 Answers
16
First, find out which script or plugin changed the meaning of your key:
:verbose imap <Tab>
Then disable the offending plugin by removing it from your ~/.vim/plugins.

Marius Gedminas
- 11,010
- 4
- 41
- 39
-
@CocoB: if that fixed it for you, consider accepting the answer. – Dummy00001 Jul 27 '10 at 12:03
-
1If `:verbose imap
` returns "No mapping found" but `:iunmap – M Imam Pratama Mar 11 '21 at 12:34` makes the tab key work again, it is most likely that ctrl-i is mapped. Try `:verbose imap `, you'll see that the tab key will execute what is mapped to. See: https://stackoverflow.com/a/14642074/9157799