ervandew / supertab

Perform all your vim insert mode completions with Tab
3.18k stars 214 forks source link

<tab> is not completing #180

Closed petervaro closed 7 years ago

petervaro commented 7 years ago

When I use <C-n> or <C-p> the completion window pops up, however it is not working with <tab>. I did :verbose imap <tab> and it says:

i  <Tab>         <Plug>SuperTabForward
        Last set from /usr/share/vim/vimfiles/plugin/supertab.vim

Which means it should work, yet it does not. My setup is: urxvt + tmux + vim, the latest from everything.

petervaro commented 7 years ago

All right, I found the problem: if .vimrc has :set paste then it will prevent the popup to work.. I guess setting a global paste is not a good idea after all :/ I'm closing this issue now, though interested in any workarounds!

petervaro commented 7 years ago

I recently saw, that this problem came up before: #24, now I'm not saying that vim/plugin should give me warning messages, but this problem should be mentioned in the documentation/FAQ.

erikr commented 7 years ago

This should definitely be in the docs / FAQ.

Has anyone come up with a better workaround than :set nopaste? I usually like paste on in my .vimrc; just happen to need tab completion more.