Skip to content

Instantly share code, notes, and snippets.

@nekoya
Created November 29, 2013 10:43
Show Gist options
  • Save nekoya/7704097 to your computer and use it in GitHub Desktop.
Save nekoya/7704097 to your computer and use it in GitHub Desktop.
KeyRemap4MacBook custom XML
<?xml version="1.0"?>
<root>
<list>
<item>
<name>nekoya</name>
<list>
<item>
<name>ASCII Bracket mode</name>
<identifier>remap.nekoya_ascii_bracket_mode</identifier>
<inputmode_only>ENGLISH</inputmode_only>
<autogen>--KeyToKey-- KeyCode::JIS_ATMARK, KeyCode::JIS_BRACKET_LEFT</autogen>
<autogen>--KeyToKey-- KeyCode::JIS_BRACKET_LEFT, KeyCode::JIS_BRACKET_RIGHT</autogen>
</item>
<item>
<name>ASCII like quote key</name>
<identifier>remap.nekoya_ascii_like_quote</identifier>
<inputmode_only>ENGLISH</inputmode_only>
<autogen>--KeyToKey-- KeyCode::JIS_BRACKET_RIGHT, VK_SHIFT, KeyCode::KEY_2, ModifierFlag::SHIFT_L</autogen>
<autogen>--KeyToKey-- KeyCode::JIS_BRACKET_RIGHT, KeyCode::KEY_7, ModifierFlag::SHIFT_L</autogen>
</item>
<item>
<name>ASCII like equal</name>
<identifier>remap.nekoya_ascii_like_equal</identifier>
<inputmode_only>ENGLISH</inputmode_only>
<autogen>--KeyToKey-- KeyCode::MINUS, VK_SHIFT, KeyCode::JIS_UNDERSCORE</autogen>
<autogen>--KeyToKey-- KeyCode::EQUAL, VK_SHIFT, KeyCode::EQUAL</autogen>
<autogen>--KeyToKey-- KeyCode::EQUAL, KeyCode::MINUS, ModifierFlag::SHIFT_L</autogen>
</item>
<item>
<name>Change Shift + 2 to @</name>
<identifier>remap.nekoya_S2_atmark</identifier>
<inputmode_only>ENGLISH</inputmode_only>
<autogen>--KeyToKey-- KeyCode::KEY_2, VK_SHIFT, KeyCode::JIS_ATMARK</autogen>
</item>
</list>
</item>
</list>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment