Created
December 18, 2013 23:19
-
-
Save achiang/8031596 to your computer and use it in GitHub Desktop.
Proper capslock behavior for Ubuntu / MacVim users
This file contains 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>MACVIM</appname> | |
<equal>org.vim.MacVim</equal> | |
</appdef> | |
<item> | |
<name>Caps to Control for MacVim only</name> | |
<identifier>private.macvimdef</identifier> | |
<block> | |
<only>MACVIM, VIRTUALMACHINE</only> | |
<autogen>__KeyToKey__ KeyCode::F19, KeyCode::CONTROL_L</autogen> | |
</block> | |
<block> | |
<not>MACVIM, VIRTUALMACHINE</not> | |
<autogen>__KeyToKey__ KeyCode::F19, KeyCode::COMMAND_L</autogen> | |
</block> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment