Skip to content

Instantly share code, notes, and snippets.

@nikushi
Created September 19, 2012 06:23
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 nikushi/3747999 to your computer and use it in GitHub Desktop.
Save nikushi/3747999 to your computer and use it in GitHub Desktop.
KeyRemap4Macbook Custom XML recipe to swap Command_R to Control_L only Terminal.app
<?xml version="1.0"?>
<root>
<list>
<item>
<name>Command_R to Control_L (TERMINAL ONLY)</name>
<only>TERMINAL</only>
<identifier>private.remap.app_term_commandR_2_to_controlL_2</identifier>
<autogen>--KeyToKey--
KeyCode::COMMAND_R,
KeyCode::CONTROL_L
</autogen>
</item>
<!-- ターミナルにてIMEきりかえを実現するためのトリック-->
<item>
<name>Control_L+Space to Command_R+Space (TERMINAL ONLY)</name>
<only>TERMINAL</only>
<identifier>private.remap.app_term_controlL_space2_to_commandR_space2</identifier>
<autogen>--KeyToKey--
KeyCode::SPACE, ModifierFlag::CONTROL_L,
KeyCode::SPACE, ModifierFlag::COMMAND_R
</autogen>
</item>
</list>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment