Skip to content

Instantly share code, notes, and snippets.

@kiruto
Created May 14, 2017 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiruto/aa2c73aaf111ae26ac5a4bcef1c4fd6a to your computer and use it in GitHub Desktop.
Save kiruto/aa2c73aaf111ae26ac5a4bcef1c4fd6a to your computer and use it in GitHub Desktop.
karabiner
<?xml version="1.0"?>
<root>
<item>
<name>ろ to ~</name>
<identifier>private.change_RO_to_BACKQUOTE</identifier>
<autogen>__KeyToKey__ KeyCode::JIS_UNDERSCORE, KeyCode::BACKQUOTE</autogen>
</item>
<item>
<name>VK_CHANGE_INPUTSOURCE_CHINESE_SIMPLIFIED</name>
<identifier>private.VK_CHANGE_INPUTSOURCE_CHINESE_SIMPLIFIED</identifier>
<autogen>__KeyToKey__ KeyCode::JIS_KANA, KeyCode::VK_CHANGE_INPUTSOURCE_CHINESE_SIMPLIFIED</autogen>
</item>
<item>
<name>VK_CHANGE_INPUTSOURCE_JAPANESE</name>
<identifier>private.VK_CHANGE_INPUTSOURCE_JAPANESE</identifier>
<autogen>__KeyToKey__ KeyCode::JIS_BRACKET_RIGHT, KeyCode::JIS_KANA</autogen>
</item>
<item>
<name>ctrl_l to alt_l</name>
<identifier>private.swipe_ctrl_l_and_alt_l</identifier>
<autogen>__KeyToKey__ KeyCode::JIS_BRACKET_RIGHT, KeyCode::JIS_KANA</autogen>
</item>
<item>
<name>swipe backslash and equal</name>
<identifier>private.swipe_bs_and_eq</identifier>
<autogen>__KeyToKey__ KeyCode::JIS_YEN, KeyCode::JIS_HAT</autogen>
<autogen>__KeyToKey__ KeyCode::JIS_HAT, KeyCode::JIS_BRACKET_RIGHT</autogen>
</item>
<item>
<name>Swap Language</name>
<identifier>private.swaplang</identifier>
<autogen>__KeyToKey__ KeyCode::JIS_EISUU, ModifierFlag::NONE, KeyCode::VK_CHANGE_INPUTSOURCE_ENGLISH</autogen>
<block>
<inputsource_only>ENGLISH</inputsource_only>
<autogen>__KeyToKey__ KeyCode::JIS_KANA, KeyCode::SPACE, ModifierFlag::CONTROL_L</autogen>
</block>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment