supertab
supertab copied to clipboard
Remap tab when no completion is active
I'd like to perform a remapping of <tab>
in insert mode when there isn't a completion context active (as opposed to currently what happens by default which is the insertion of a literal tab (or spaces depending on vim config).
How should I go about this? Thanks!
Currently your only option would be to modify supertab. Here is the line that returns a literal tab: https://github.com/ervandew/supertab/blob/40fe711e088e2ab346738233dd5adbb1be355172/plugin/supertab.vim#L524
Ah thanks for the response. Any interested in a supertab fallback
option of sorts?