Skip to content

Instantly share code, notes, and snippets.

@cmsj
Created January 9, 2015 22:42
Show Gist options
  • Save cmsj/12aa096e4e49341cda29 to your computer and use it in GitHub Desktop.
Save cmsj/12aa096e4e49341cda29 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<root>
<item>
<name>Remap F19 to Hyper</name>
<appendix>OS X doesn't have a Hyper. This maps Right Control to Control + Shift + Option + Command.</appendix>
<identifier>cmsj.f19_to_hyper</identifier>
<autogen>
--KeyToKey--
KeyCode::F19,
KeyCode::COMMAND_R,
ModifierFlag::OPTION_R | ModifierFlag::SHIFT_R | ModifierFlag::CONTROL_R
</autogen>
</item>
<item>
<name>Remap Fn-Arrows to F13-F16</name>
<appendix>For use with window management</appendix>
<identifier>cmsj.fn_arrows_to_f13_f16</identifier>
<autogen>
--KeyToKey--
KeyCode::CURSOR_LEFT, ModifierFlag::FN | ModifierFlag::CONTROL_L,
KeyCode::F13
</autogen>
<autogen>
--KeyToKey--
KeyCode::CURSOR_RIGHT, ModifierFlag::FN | ModifierFlag::CONTROL_L,
KeyCode::F14
</autogen>
<autogen>
--KeyToKey--
KeyCode::CURSOR_UP, ModifierFlag::FN | ModifierFlag::CONTROL_L,
KeyCode::F15
</autogen>
<autogen>
--KeyToKey--
KeyCode::CURSOR_DOWN, ModifierFlag::FN | ModifierFlag::CONTROL_L,
KeyCode::F16
</autogen>
</item>
<item>
<name>Remap Fn-V to F17</name>
<appendix>For use with clipboard-hating websites</appendix>
<identifier>cmsj.fn_v_to_f17</identifier>
<autogen>
--KeyToKey--
KeyCode::V, ModifierFlag::FN,
KeyCode::F17
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment