Intellij IdeaVim change keys

If you like to have Vim plugin installed (I find it very handy for typing) and at the same time have Ctrl+C and Ctrl+V working for copy and paste actions, do the following:

In the IntelliJ Idea, click on File > Setting. On the left pane, expand Editor and click on Vim Emulation.

Here, under the Shortcut column, find Ctrl+C and change it's Handler (under Handler column) to IDE instead of Vim.

Repeat it for Ctrl+V as well and hit Apply and Ok.

Now, you should be able to use the keyboard shortcuts for copy and paste while keeping the Vim Emulator enabled.


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

As of IdeaVim 0.35 (released 2014-05-15), key mappings in ~/.ideavimrc are supported. You can put source ~/.vimrc in that file if you want to include mappings from ~/.vimrc.

Release announcement

VIM-288

(Note: This question could probably be considered a duplicate of this other StackOverflow question.)