Skip to content

Instantly share code, notes, and snippets.

@mitranim
Last active August 29, 2015 14:01
Show Gist options
  • Save mitranim/a07056a4c4eb335388f5 to your computer and use it in GitHub Desktop.
Save mitranim/a07056a4c4eb335388f5 to your computer and use it in GitHub Desktop.
KeyRemap4MacBook private settings xml
<?xml version="1.0"?>
<root>
<item>
<name>Control+L to Forward Delete</name>
<identifier>private.control_l_to_forward_delete</identifier>
<autogen>__KeyToKey__ KeyCode::L, ModifierFlag::CONTROL_L, KeyCode::FORWARD_DELETE</autogen>
</item>
<item>
<name>Control+K to Shift_L+Return</name>
<identifier>private.control_k_to_shift+return</identifier>
<autogen>__KeyToKey__ KeyCode::K, ModifierFlag::CONTROL_L, KeyCode::RETURN, ModifierFlag::SHIFT_L</autogen>
</item>
<item>
<name>Fn+H to Command_L+Left</name>
<identifier>private.fn_h_command_l_left</identifier>
<autogen>__KeyToKey__ KeyCode::H, ModifierFlag::FN, KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_L</autogen>
</item>
<item>
<name>Fn+J to PageDown</name>
<identifier>private.fn_j_pagedown</identifier>
<autogen>__KeyToKey__ KeyCode::J, ModifierFlag::FN, KeyCode::PAGEDOWN</autogen>
</item>
<item>
<name>Fn+K to PageUp</name>
<identifier>private.fn_k_pageup</identifier>
<autogen>__KeyToKey__ KeyCode::K, ModifierFlag::FN, KeyCode::PAGEUP</autogen>
</item>
<item>
<name>Fn+L to Command_L+Right</name>
<identifier>private.fn_l_command_l_right</identifier>
<autogen>__KeyToKey__ KeyCode::L, ModifierFlag::FN, KeyCode::CURSOR_RIGHT, ModifierFlag::COMMAND_L</autogen>
</item>
<item>
<name>[ to (</name>
<identifier>private.[_to_(</identifier>
<autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::NONE, KeyCode::KEY_9, ModifierFlag::SHIFT_L | ModifierFlag::NONE</autogen>
</item>
<item>
<name>] to )</name>
<identifier>private.]_to_)</identifier>
<autogen>__KeyToKey__ KeyCode::BRACKET_RIGHT, ModifierFlag::NONE, KeyCode::KEY_0, ModifierFlag::SHIFT_L | ModifierFlag::NONE</autogen>
</item>
<item>
<name>( to [</name>
<identifier>private.(_to_[</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_9, ModifierFlag::SHIFT_L | ModifierFlag::NONE, KeyCode::BRACKET_LEFT</autogen>
</item>
<item>
<name>) to ]</name>
<identifier>private.)_to_]</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_0, ModifierFlag::SHIFT_L | ModifierFlag::NONE, KeyCode::BRACKET_RIGHT</autogen>
</item>
</root><?xml version="1.0"?>
<root>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment