Last active
August 29, 2015 14:00
-
-
Save satoyos/11385378 to your computer and use it in GitHub Desktop.
MacでRealForceを使うためのKeyRemap4MacBook設定 (private.xml)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <root> | |
| <appdef> | |
| <appname>RUBYMINE</appname> | |
| <equal>com.jetbrains.rubymine</equal> | |
| </appdef> | |
| <appdef> | |
| <appname>PARALLELS</appname> | |
| <equal>com.parallels.desktop.console</equal> | |
| </appdef> | |
| <devicevendordef> | |
| <vendorname>My_Keyboard_VendorID</vendorname> | |
| <!-- *** Replace this value with yours. *** --> | |
| <vendorid>0x0853</vendorid> | |
| </devicevendordef> | |
| <deviceproductdef> | |
| <productname>My_Target_Keyboard_ProductID</productname> | |
| <!-- *** Replace this value with yours. *** --> | |
| <productid>0x011d</productid> | |
| </deviceproductdef> | |
| <replacementdef> | |
| <replacementname>EMACS_MODE_IGNORE_APPS</replacementname> | |
| <replacementvalue> | |
| ECLIPSE, | |
| EMACS, | |
| REMOTEDESKTOPCONNECTION, | |
| TERMINAL, | |
| VI, | |
| VIRTUALMACHINE, | |
| X11, | |
| GOOGLE_CHROME, | |
| RUBYMINE, | |
| </replacementvalue> | |
| </replacementdef> | |
| <item> | |
| <name>RealForce用セッティング</name> | |
| <appendix>左commandと左Optionの交換、[半角/全角]をEscに設定</appendix> | |
| <identifier>private.for_RealForce</identifier> | |
| <block> | |
| <device_only> | |
| DeviceVendor::My_Keyboard_VendorID, | |
| DeviceProduct::My_Target_Keyboard_ProductID | |
| </device_only> | |
| <!-- 左Commandと左Optionを交換 --> | |
| <autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen> | |
| <autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen> | |
| <!-- [半角/全角]をEscに設定 --> | |
| <autogen>__KeyToKey__ KeyCode::BACKQUOTE, KeyCode::ESCAPE</autogen> | |
| </block> | |
| <block> | |
| <!-- change f19 key to caps lock key on other devices --> | |
| </block> | |
| </item> | |
| <item> | |
| <name>Ctrl-NとCtrl-PをUP/DOWNに割り当てる</name> | |
| <identifier>private.assing_ctrl_Z_to_command_Z</identifier> | |
| <not>RUBYMINE</not> | |
| <block> | |
| <autogen>__KeyToKey__ | |
| KeyCode::N, ModifierFlag::CONTROL_L, KeyCode:: CURSOR_DOWN | |
| </autogen> | |
| <autogen>__KeyToKey__ | |
| KeyCode::P, ModifierFlag::CONTROL_L, KeyCode:: CURSOR_UP | |
| </autogen> | |
| </block> | |
| </item> | |
| <item> | |
| <name>ParallelsのWindows8設定</name> | |
| <appendix>Ctrl-OをBackquote(→半角/全角キー扱い)に割り当てる</appendix> | |
| <identifier>private.on_paralles.assign_ctrl_o_to_backquote</identifier> | |
| <only>PARALLELS</only> | |
| <autogen>__KeyToKey__ | |
| KeyCode::O, ModifierFlag::CONTROL_L, KeyCode::BACKQUOTE</autogen> | |
| </item> | |
| </root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment