Skip to content

Instantly share code, notes, and snippets.

@fanweixiao
Created July 12, 2014 15:06
Show Gist options
  • Save fanweixiao/aa8d313a784b436ab9c5 to your computer and use it in GitHub Desktop.
Save fanweixiao/aa8d313a784b436ab9c5 to your computer and use it in GitHub Desktop.
keyremap
<?xml version="1.0"?>
<root>
<item>
<name>Switch Input Source</name>
<appendix>Use the right Option key to select the next input source</appendix>
<identifier>private.switch_input_source_with_right_option</identifier>
<autogen>--KeyToKey-- KeyCode::OPTION_R, KeyCode::SPACE, ModifierFlag::OPTION_L</autogen>
</item>
<item>
<name>Switch Input Source</name>
<appendix>Use the right Command key to select the next input source</appendix>
<identifier>private.switch_next_input_source_with_right_command</identifier>
<autogen>--KeyToKey-- KeyCode::COMMAND_R, KeyCode::SPACE, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment