When I hit
Ctrl-[ in insert mode vim, it hangs for half a second before exiting insert mode. It's not a performance-rooted hang, as I can type any character and vim will exit insert mode immediately, but if I hit
esc and nothing else then vim will wait for half a second.
I believe that this is because there is some other key binding for esc, and vim is waiting to see if I hit it. This suspicion is re-enforced by the fact that when I
set notimeout, vim will wait indefinitely for me to press another key before existing insert mode. This is quite annoying, as sometimes I like to have
Does anyone know how to make
esc act immediately? Is there some other key binding that starts with
esc that I can turn off?
For what it's worth,
:map <Esc> and
:imap <Esc> yield
No mapping found, and I can reproduce this on a fresh install of vim with no