Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I really like vim SuperTab plugin.

But there is a little problem I have.

When there is no keyword to complete the plugin doesn't insert a real tab but instead it tries to complete the word with CTRL+N or CTRL+P showing an error.

I know that I can use CTRL+TAB to insert a real tab but I'd like an auto fallback function.

I also know I can write a custom function to accomplish this task but I don't have the vim scripting competence to do this.

Is there any configuration of vim or SuperTab that I'm missing?

share|improve this question
add comment

1 Answer

While in insert mode type <C-V> Tab.

<C-V> is used as a prefix to insert special characters.

see :help ins-special-keys for more information.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.