samedi 16 décembre 2006

Using Vim without the arrow keys

I've used a Linux laptop where the arrow keys don't behave as excepted in Vim and was then forced to learn the equivalent keys.

h: a char back
j: a line down
k: a line up
l: a char forward

All this is accessible from the right hand and leave the left one free to reach the escape key to change mod.

Handy, I begin to like it :)

More informations here and here

EDIT:
Funny, I also discovered that the excellent Google Reader have j and k short-cuts to go down or up on the RSS list :)

Aucun commentaire: