tags:

views:

94

answers:

2

I am trying to map the letter hjkl to jkl; in my .vimrc file so that i can have my fingers the way they always are on the keyboard, while writing in vim.

the problem is that as i map k to l, it jumps into the l to ;. so k becomes the same as ;. the same off course happens to all of them.

so all the keys become one because they copy through one another.

how can i prevent that?

+3  A: 

Check out :help noremap. This will prevent maps from recursively being mapped.

Randy Morris
+5  A: 

use noremap:

noremap ; l
noremap l k
noremap k j
noremap j h
Lie Ryan

related questions