Shortcut for arrow keys, move like in vi/vim mode

08 May 2014


I am used to vim and like to move with H, J, K, L.

I would like to avoid switching to the arrow keys when I am in a text field for example.

In all application, I want:

  • can also be triggered by Alt + H

  • can also be triggered by Alt + J

  • can also be triggered by Alt + K

  • can also be triggered by Alt + L

In Mac, this will be easily done by keyremap4macbook, there is a vi Mode

But in windows, this will be a little hard.

I use Auto hot key

And the following scrpit:

!h::SendInput,{LEFT}
!j::SendInput,{DOWN}
!k::SendInput,{UP}
!l::SendInput,{RIGHT} 

comments powered by Disqus