Skip to content

Instantly share code, notes, and snippets.

Created June 29, 2014 04:17
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 anonymous/eb1a28e5b6ad72f19f27 to your computer and use it in GitHub Desktop.
Save anonymous/eb1a28e5b6ad72f19f27 to your computer and use it in GitHub Desktop.
KeyRemap4MacBook custom script
<?xml version="1.0"?>
<root>
<item>
<name>Swap Esc and Fn</name>
<identifier>private.swap_esc_and_tab</identifier>
<autogen>__KeyToKey__ KeyCode::ESCAPE, KeyCode::FN</autogen>
<autogen>__KeyToKey__ KeyCode::FN, KeyCode::ESCAPE</autogen>
</item>
<appdef>
<appname>MacVim</appname>
<equal>org.vim.MacVim</equal>
</appdef>
<item>
<name>Change Right Option key to Control</name>
<identifier>private.remap_rightOption_to_control</identifier>
<only>MacVim</only>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::CONTROL_R</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment