UPDATE
AJ ONeal, author of Desi, wrote up another way to do it. My own way to do it is based on this blog post.
..Continued
I didn’t even know it, but I was tired of taking my hands off home row to use the arrow keys. Inspired by this post, I decided to set up my MacBook Pro to use Caps Lock + IJKL instead of arrow keys. Here’s how I did it:
Run Karabiner and open private.xml
from “Misc & Uninstall”. Put your desired mappings in private.xml
. Mine, below, map Fn+IJKL to their respective arrow keys:
<?xml version="1.0"?>
<root>
<item>
<name>Bind CapsLock + J to left arrow</name>
<identifier>private.caps_leftarrow</identifier>
<autogen>
__KeyToKey__
KeyCode::J, ModifierFlag::FN,
KeyCode::CURSOR_LEFT
</autogen>
</item>
<item>
<name>Bind CapsLock + K to down arrow</name>
<identifier>private.caps_downarrow</identifier>
<autogen>
__KeyToKey__
KeyCode::K, ModifierFlag::FN,
KeyCode::CURSOR_DOWN
</autogen>
</item>
<item>
<name>Bind CapsLock + L to right arrow</name>
<identifier>private.caps_rightarrow</identifier>
<autogen>
__KeyToKey__
KeyCode::L, ModifierFlag::FN,
KeyCode::CURSOR_RIGHT
</autogen>
</item>
<item>
<name>Bind CapsLock + I to up arrow</name>
<identifier>private.caps_uparrow</identifier>
<autogen>
__KeyToKey__
KeyCode::I, ModifierFlag::FN,
KeyCode::CURSOR_UP
</autogen>
</item>
</root>
That’s it. You can now enjoy greater productivity :-)