1
votes

I'm using MacVim with YouCompleteMe plugin. Everything is awesome, but I have a small problem: pressing escape only closes the autocomplete popup without returning to normal mode - it stays in insert mode. For me, this behaviour is a bit weird - I always expect Esc to mean normal mode, hence my question: Can I force Vim to close the popup menu and go to normal mode on Esc? And how?

Thank you,

t.

1
I'm not running macvim but the behavior you want is the behavior I get when I try this.FDinoff
Can you elaborate a bit please?motanelu
When I use YouCompleteMe and hit escape I go back to normal mode.FDinoff
Is your .vimrc available somewhere, like .github? I might be missing something!motanelu
It is on github and bitbucket (same username) but Its more likely your configuration see github.com/Valloric/YouCompleteMe/issues/9FDinoff

1 Answers

1
votes

It is mostly something conflicting in your setup. Take a look at github.com/Valloric/YouCompleteMe/issues/9.

If you have the AutoClose plugin remove it and replace it with delimitMate

https://github.com/Valloric/YouCompleteMe#nasty-bugs-happen-if-i-have-the-vim-autoclose-plugin-installed