Skip to content

Instantly share code, notes, and snippets.

@amatsuda
Last active September 25, 2015 15:18
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amatsuda/942211 to your computer and use it in GitHub Desktop.
Save amatsuda/942211 to your computer and use it in GitHub Desktop.
KeyRemap4MacBookで右Shiftとか右Cmdを単発で叩いたらアンスコにするやつ
<?xml version="1.0"?>
<root>
<list>
<item>
<name>Handy Underscore</name>
<list>
<item>
<name>Command_R to Command_R</name>
<appendix>(+ When you type Command_R only, send Underscore)</appendix>
<identifier>remap.commandR2commandR_underscore</identifier>
<autogen>--KeyOverlaidModifier-- KeyCode::COMMAND_R, KeyCode::COMMAND_R, KeyCode::MINUS, ModifierFlag::SHIFT_L</autogen>
</item>
</list>
</item>
</list>
</root>
@takkanm
Copy link

takkanm commented Apr 26, 2011

~/Library/Application Support/KeyRemap4MacBook/private.xml におけばよいっぽい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment