Search code examples
intellij-ideavimideavim

Intellij IdeaVim change keys


I would really like to be able to use IdeaVIM but I am unable to figure out where I can set my custom vim key mappings. For example instead of using Esc I would like to use Ctrl-C and instead of using hjkl I like to use wasd.

I have all these already set in my .vimrc but IdeaVIM failed to load them. I can copy them over manually to whatever file is needed but there is no documentation on how to do this.


Solution

  • I've done this myself, and its pretty easy in IntelliJ 11. I know that in previous versions (9, maybe?) setting up keymap values is significantly different.

    In IntelliJ 11 you can do the following:

    1. Go to Settings
    2. Select Keymap from the left menu
    3. Search for Exit Insert Mode on the right side and associate whatever key you want to use, such as CTRL-C