Skip to content

Instantly share code, notes, and snippets.

@zhyu
Last active August 29, 2015 14:10
Show Gist options
  • Save zhyu/38493cdcd9a87a94d336 to your computer and use it in GitHub Desktop.
Save zhyu/38493cdcd9a87a94d336 to your computer and use it in GitHub Desktop.
Custom rule for Karabiner(KeyRemap4MacBook) to select the second/third candidate using left/right shift key only in Chinese Simplified input source
<?xml version="1.0"?>
<root>
<item>
<name>Select the second/third candidate using left/right shift key.(only in Chinese-Simplified-*)</name>
<identifier>private.select_candidate_using_shift_key</identifier>
<inputsource_only>CHINESE_SIMPLIFIED</inputsource_only>
<autogen>__KeyOverlaidModifier__ KeyCode::SHIFT_L, KeyCode::SHIFT_L, KeyCode::KEY_2</autogen>
<autogen>__KeyOverlaidModifier__ KeyCode::SHIFT_R, KeyCode::SHIFT_R, KeyCode::KEY_3</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment