supertab icon indicating copy to clipboard operation
supertab copied to clipboard

why 'g:SuperTabNoCompleteAfter' does not work ?

Open dzyhenry opened this issue 8 years ago • 5 comments

Supertab is awesome, but I lost my literal <Tab>, which makes me uncomfortable, I tried 'g:SuperTabNoCompleteAfter', but it doesn't work.
Is it caused by my environment ? my os is OSX 10.11.3, and vim version is 7.4.963, and I have the plugins of " emmet-vim nerdtree supertab vim-fugitive vim-pathogen indentLine snipmate.vim syntastic vim-nerdtree-tabs vim-powerline"

dzyhenry avatar Mar 20 '16 02:03 dzyhenry

Can you provide more information? What do you have g:SuperTabNoCompleteAfter set to? What is the text you are trying to insert a literal tab after?

ervandew avatar Mar 22 '16 03:03 ervandew

My setting is { let g:SuperTabNoCompleteAfter = ['^', ',', '\s'] } . When I start a new line(which means after nothing), I lost my literal tab.

dzyhenry avatar Mar 30 '16 05:03 dzyhenry

My g:SuperTabNoCompleteAfter is set to the default value, but it still opens a menu when I hit tab at the beginning of a line.

lsiden avatar Apr 10 '22 18:04 lsiden

i have the same problem, it works well when vim open. but after edit some files. the popup menu will be shown at the beginning of line( not all files) when tab hitted.

kran avatar May 28 '22 20:05 kran

maybe the reason is b:SuperTabNoCompleteAfter was overrided in some condition. i now use BufWinEnter autocmd to reset it when switching buffers. i'll keep to see if it's ok.


ok,emmet-vim is the reason. after disable emmet, supertab works well in last few days.

kran avatar May 28 '22 20:05 kran