Last active
December 31, 2015 06:09
-
-
Save gempesaw/7945392 to your computer and use it in GitHub Desktop.
os x right option to f17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>Change right option key to F17</name> | |
| <identifier>private.right_option_to_f17</identifier> | |
| <autogen>__KeyToKey__ KeyCode::RawValue::0x6e, KeyCode::F17</autogen> | |
| </item> | |
| <item> | |
| <name>Shifts to Parentheses</name> | |
| <appendix>Shifts, when pressed alone, type parentheses. When used with other keys they're normal shifts.</appendix> | |
| <identifier>private.shifts_to_parens</identifier> | |
| <!-- This is the basic mapping. --> | |
| <autogen>--KeyOverlaidModifier-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_R | ModifierFlag::NONE, KeyCode::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L</autogen> | |
| <autogen>--KeyOverlaidModifier-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_L | ModifierFlag::NONE, KeyCode::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_R</autogen> | |
| <!-- | |
| Remap the "rolls" of () and )( because it's too easy to hit one | |
| before finishing the other, and there's no other reason to be | |
| pressing both shift keys at once anyway | |
| --> | |
| <autogen>--KeyToKey-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_L</autogen> | |
| <autogen>--KeyToKey-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_L, KeyCode::KEY_0, ModifierFlag::SHIFT_L</autogen> | |
| <!-- | |
| Remap Rshift+Space to ') ', because when typing an end paren and | |
| then a space I tend to hit space before I let go of rshift. | |
| --> | |
| <autogen>--KeyToKey-- KeyCode::SPACE, ModifierFlag::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L, KeyCode::SPACE</autogen> | |
| </item> | |
| </root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment