Created
May 13, 2015 18:41
-
-
Save steven807/a078a580974c2d917e5d to your computer and use it in GitHub Desktop.
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> | |
<item> | |
<name>Control/Escape</name> | |
<appdef> | |
<appname>MACVIM</appname> | |
<equal>org.vim.MacVim</equal> | |
</appdef> | |
<appdef> | |
<appname>TERMINAL</appname> | |
<equal>org.apple.Terminal</equal> | |
</appdef> | |
<item> | |
<name>Control_L to Escape in vi</name> | |
<appendix>When in vi (MacVim or Terminal), bare control becomes escape</appendix> | |
<appendix>When pressed alone, Control_L types Escape</appendix> | |
<appendix>When used with other keys, it's normal Control.</appendix> | |
<identifier>remap.programmer.control_escape</identifier> | |
<only>MACVIM, TERMINAL</only> | |
<modifier_not> | |
ModifierFlag::COMMAND_L, ModifierFlag::COMMAND_R, | |
ModifierFlag::SHIFT_L, ModifierFlag::SHIFT_R, | |
ModifierFlag::FN, | |
ModifierFlag::OPTION_L, ModifierFlag::OPTION_R, | |
</modifier_not> | |
<!-- This is the basic mapping. --> | |
<autogen> | |
__KeyOverlaidModifier__ | |
KeyCode::CONTROL_L, | |
KeyCode::CONTROL_L, | |
KeyCode::ESCAPE | |
</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment