ervandew / supertab

Perform all your vim insert mode completions with Tab
3.17k stars 216 forks source link

Inconsistency with inserting highlighted word #203

Open jsdalton opened 5 years ago

jsdalton commented 5 years ago

I've used this plugin for a long time and I have the following problem (which I do not see addressed in the documentation).

Put simply, I am in insert mode, I hit <Tab> to bring up a dropdown of matches, then I cycle through the options. Now...

How do I choose the option to insert?

Here is what I have found:

In short, I'd like to know the "right" way to:

Thanks to anyone who can help me figure this out.

ervandew commented 5 years ago

Do you have supertab's <cr> mapping enabled? (`let g:SuperTabCrMapping = 1')

With that enabled I can't reproduce the behavior you've described, so if you do have that mapping enabled, my guess would be that some other plugin is also mapped to <cr>, causing the issue. You can check in vim using: :verbose imap <cr>