Gvim tab key does not work

I just started using vim and am using existing .vimrc and .gvimrc. It works fine, except that the Tab key does not insert a tab ... it calls the code completion plug-in. I don’t know where to start since I am new to vim. How to make the Tab key generate a tab?

+4
source share
2 answers

First find out which script or plugin has changed the value of your key:

:verbose imap <Tab> 

Then disable the intruder plugin by removing it from ~ / .vim / plugins.

+10
source

If all you want to do is turn off the tab display, just do:

 :iunmap <Tab> 
+1
source

All Articles