Skip to content

Instantly share code, notes, and snippets.

@minodisk
Last active August 29, 2015 14:06
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 minodisk/47cd4bea6693da83c8f0 to your computer and use it in GitHub Desktop.
Save minodisk/47cd4bea6693da83c8f0 to your computer and use it in GitHub Desktop.
Karabiner.appのvim設定
<?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