Skip to content

Instantly share code, notes, and snippets.

@trishume
Created November 23, 2012 13:16
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trishume/4135580 to your computer and use it in GitHub Desktop.
Save trishume/4135580 to your computer and use it in GitHub Desktop.
My keyremap4macbook private.xml
<?xml version="1.0"?>
<root>
<item>
<name>Remap Right Control to Hyper</name>
<appendix>OS X doesn't have a Hyper. This maps right control to Control + Shift + Option + Command.</appendix>
<identifier>space_cadet.left_control_to_hyper</identifier>
<autogen>
--KeyToKey--
KeyCode::CONTROL_R,
KeyCode::COMMAND_L,
ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L
</autogen>
</item>
<item>
<name>Remap Hyper+P to play/pause</name>
<appendix>For keyboards without media keys.</appendix>
<identifier>space_cadet.hyper_pause</identifier>
<autogen>
--KeyToKey--
KeyCode::P,
ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L,
ConsumerKeyCode::MUSIC_PLAY
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment