1

so my problem just like this thread How can I insert a real tab character in Vim?

I install supertab plugin and everytime I press tab on my keboard the autocompletion is always shows up. because I code in python, I will always use real tab, so the solution is to use ctrl+v then tab. is there any better solution, so that I'm not missing my supertab and I can use my real tab, just like old tab ??

Community
  • 1
  • 1
Aldy syahdeini
  • 349
  • 1
  • 4
  • 16

1 Answers1

3

From the SuperTab doc:

So if you don't want supertab to start completion at the start of a line, after a comma, or after a space, you can set g:SuperTabNoCompleteAfter to ['^', ',', '\s'].


" put this into vimrc file
let g:SuperTabNoCompleteAfter = ['^', ',', '\s']
kev
  • 155,172
  • 47
  • 273
  • 272