Search code examples
vimintellij-idea

Intellij Ideavim how to set key map for <ESC>


In my ~/.ideavimrc I set

noremap jj <Esc>

To remap "jj" to escape (to enter normal mode).

However it doesn't seem to be working? .ideavimrc is in the same location as my .vimrc and I restarted IntelliJ.


Solution

  • I don't believe multi key mappings work. I can't find an open ticket but thats what twitter comments suggest here https://twitter.com/ideavim/status/444201384981053441, http://youtrack.jetbrains.com/issue/VIM-518

    You can also check which mappings intellij knows about by typing :noremap. Since jj shows up it probably doesn't work.