Created
March 17, 2014 15:44
-
-
Save theothermattm/9601712 to your computer and use it in GitHub Desktop.
Karibiner (aka KeyRemap4MacBook) mapping file
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"?> | |
| <!-- key modifier file for https://pqrs.org/macosx/keyremap4macbook/ --> | |
| <root> | |
| <appdef> | |
| <appname>MacVim</appname> | |
| <equal>org.vim.MacVim</equal> | |
| </appdef> | |
| <appdef> | |
| <appname>Iterm2</appname> | |
| <equal>com.googlecode.iterm2</equal> | |
| </appdef> | |
| <item> | |
| <name>Swap command and control, except in MacVim and Iterm2</name> | |
| <identifier>private.swap_command_and_control</identifier> | |
| <autogen>--KeyToKey-- KeyCode::COMMAND_L, KeyCode::CONTROL_L</autogen> | |
| <autogen>--KeyToKey-- KeyCode::COMMAND_R, KeyCode::CONTROL_R</autogen> | |
| <autogen>--KeyToKey-- KeyCode::CONTROL_L, KeyCode::COMMAND_L</autogen> | |
| <autogen>--KeyToKey-- KeyCode::CONTROL_R, KeyCode::COMMAND_R</autogen> | |
| <not>MacVim</not> | |
| <not>Iterm2</not> | |
| </item> | |
| </root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment