Skip to content

Instantly share code, notes, and snippets.

@kei-p
Created November 28, 2016 00:28
Show Gist options
  • Save kei-p/99841bddd384981c7d39bde45496a00e to your computer and use it in GitHub Desktop.
Save kei-p/99841bddd384981c7d39bde45496a00e to your computer and use it in GitHub Desktop.
[ Karabiner ] - vim で esc 押したときに常に かな => 英数 へ移行
<?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 (vim keybind apps)</name>
<identifier>private.vim_keybind_apps_esc_with_eisuu</identifier>
<only>iTERM2,TERMINAL,MACVIM</only>
<autogen>--KeyToKey-- KeyCode::ESCAPE, KeyCode::ESCAPE, 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