I use Vim and ideaVim(plugin in IDE) when coding. I have a lot of shared config, then I made both two linked from the one config file. Most of the time it is ok, but not when I map jj
to <ESC>
. it's normal in Vim, but I had to wait for a moment when typed 'j' in ideaVim.
I tried to do like vmap <F12> ':imap jj <ESC><CR>'
, got failed. I also think about calling a function in need, but I don't know how to start. Anyone can give me a idea? Thanks in advance!