Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
private.xml for KeyRemap4MacBook to remap ESC -> ESC + EISUU and ^[ to ^[ EISUU. This is to make Kotoeri disable in vim's normal mode. Based on http://r7kamura.hatenablog.com/entry/20110217/1297910068
<?xml version="1.0"?>
<root>
<list>
<item>
<name>LeaveInsMode with EISUU(Terminal)</name>
<identifier>private.app_terminal_esc_with_eisuu</identifier>
<only>TERMINAL</only>
<autogen>--KeyToKey-- KeyCode::ESCAPE, KeyCode::ESCAPE, KeyCode::JIS_EISUU</autogen>
<autogen>--KeyToKey-- KeyCode::JIS_BRACKET_LEFT, VK_CONTROL, KeyCode::JIS_BRACKET_LEFT, VK_CONTROL, KeyCode::JIS_EISUU</autogen>
</item>
</list>
</root>
Owner

hyuki0000 commented Jul 10, 2013

http://r7kamura.hatenablog.com/entry/20110217/1297910068 との違いは、CTRL+Cはいじっていないことと、ESCだけでなくCTRL+[も変更しているところ。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment