Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unmapping keys in IdeaVim

I tried to map Numpad 1 to a key combination in PHPStorm Idea VIM using the following command:

:map k1 keycombination

Now actually k+1 is mapped to the key combination. When navigating using the K key, the system waits for extra input after the K, which is very annoying.

I tried to unmap the combination, but the command ":unmap k1" doesn't work. When I check the keybindings using the :map command, the k1 mapping is still there.

I couldn't find any documentation regarding this. Does anybody know how to unmap keys in Idea VIM?

like image 871
Milan Simek Avatar asked Jan 12 '15 15:01

Milan Simek


1 Answers

You can use this, I've just figured it out today:

:map k k

There should be definitely an unmap command in ideavim anyway!

like image 182
KenIchi Avatar answered Oct 02 '22 06:10

KenIchi