Mac – Remap arrow key to different shortcut

keyboardmacvim

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.

Is there a way to remap the following keys in all application on Mac OS X, so that:

can also be triggered by OPTION H

can also be triggered by OPTION J

can also be triggered by OPTION K

can also be triggered by OPTION L

Best Answer

You can use Karabiner to remap keys.

A powerful and stable keyboard customizer for OS X.

This page details how to add custom behaviors.