Skip to content

Instantly share code, notes, and snippets.

@afaur
Last active August 23, 2016 13:59
Show Gist options
  • Save afaur/2bd61d7022568c4f9d18dc503db159c7 to your computer and use it in GitHub Desktop.
Save afaur/2bd61d7022568c4f9d18dc503db159c7 to your computer and use it in GitHub Desktop.
Karabiner Settings for Mac OSX ctrl + hjkl enabled movement.
<?xml version="1.0"?>
<root>
<appdef>
<appname>FINDER_OR_SYSPREF</appname>
<equal>com.apple.finder</equal>
<equal>com.apple.systempreferences</equal>
<equal>com.apple.Preview</equal>
</appdef>
<item>
<name>HJKL Mode</name>
<identifier>private.make_hjkl_be_arrows</identifier>
<only>FINDER_OR_SYSPREF</only>
<autogen>__KeyToKey__ KeyCode::H, VK_CONTROL, KeyCode::CURSOR_LEFT</autogen>
<autogen>__KeyToKey__ KeyCode::J, VK_CONTROL, KeyCode::CURSOR_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::K, VK_CONTROL, KeyCode::CURSOR_UP</autogen>
<autogen>__KeyToKey__ KeyCode::L, VK_CONTROL, KeyCode::CURSOR_RIGHT</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment