views:

60

answers:

1

I'm trying to change the cursor keys in VIM from the normal h,j,k,l to the home position for typing j,k,l,;. Any suggestions on how to do that? Thanks in advance.

+6  A: 

:help map.txt will give you a lots of information on the subject.

You can try the following to achieve your goal:

nnoremap j h
nnoremap k j
nnoremap l k
nnoremap ; l

vnoremap j h
vnoremap k j
vnoremap l k
vnoremap ; l
d.m