How can I get the effect of multiple <ESC>
s being pressed when I press <ESC>
once?
My current config requires me to press <ESC>
twice to switch to Normal mode: once to close the completion pop-up and again to switch to Normal mode.
This is what I tried (and it didn't work):
:imap <ESC> <ESC><ESC>
Note: I am using NeoVim version 0.2.2