Last active
August 29, 2015 14:06
-
-
Save minodisk/47cd4bea6693da83c8f0 to your computer and use it in GitHub Desktop.
Karabiner.appのvim設定
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>ITERM2</appname> | |
<equal>com.googlecode.iterm2</equal> | |
</appdef> | |
<appdef> | |
<appname>MACVIM</appname> | |
<equal>org.vim.MacVim</equal> | |
</appdef> | |
<list> | |
<item> | |
<name>Leave insert mode with EISUU for vim</name> | |
<identifier>private.app_terminal_esc_with_eisuu</identifier> | |
<only>TERMINAL,ITERM2,MACVIM</only> | |
<autogen>--KeyToKey-- KeyCode::ESCAPE, KeyCode::ESCAPE, KeyCode::JIS_EISUU</autogen> | |
<autogen>--KeyToKey-- KeyCode::C, VK_CONTROL, KeyCode::C, VK_CONTROL, KeyCode::JIS_EISUU</autogen> | |
<autogen>--KeyToKey-- KeyCode::J, VK_CONTROL, KeyCode::C, VK_CONTROL, KeyCode::JIS_EISUU</autogen> | |
<autogen>--KeyToKey-- KeyCode::BRACKET_LEFT, VK_CONTROL, KeyCode::BRACKET_LEFT, VK_CONTROL, KeyCode::JIS_EISUU</autogen> | |
</item> | |
</list> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See
http://r7kamura.hatenablog.com/entry/20110217/1297910068
http://m.designbits.jp/13091710/