Created
          March 16, 2015 02:13 
        
      - 
      
- 
        Save 2no/9f122c275f25c7e6ab6e to your computer and use it in GitHub Desktop. 
    Karabiner
  
        
  
    
      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>ESC to IME off (to English) + Esc + Esc</name> | |
| <appendix>Enable for all but HHK</appendix> | |
| <identifier>private.vim.ime_off_ESC</identifier> | |
| <only>TERMINAL, VI</only> | |
| <inputsource_only>JAPANESE</inputsource_only> | |
| <autogen> | |
| __KeyToKey__ KeyCode::ESCAPE, ModifierFlag::NONE, | |
| KeyCode::VK_CHANGE_INPUTSOURCE_ENGLISH, | |
| KeyCode::VK_CHANGE_INPUTSOURCE_JAPANESE, | |
| KeyCode::VK_CHANGE_INPUTSOURCE_ENGLISH, | |
| KeyCode::ESCAPE, KeyCode::ESCAPE | |
| </autogen> | |
| </item> | |
| <item> | |
| <name>Control + BRACKET_LEFT to IME off (to English) + Esc + Esc</name> | |
| <identifier>private.vim.ime_new</identifier> | |
| <only>TERMINAL, VI</only> | |
| <inputsource_only>JAPANESE</inputsource_only> | |
| <autogen> | |
| __KeyToKey__ KeyCode::BRACKET_LEFT, | |
| MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL|ModifierFlag::NONE, | |
| KeyCode::VK_CHANGE_INPUTSOURCE_ENGLISH, | |
| KeyCode::VK_CHANGE_INPUTSOURCE_JAPANESE, | |
| KeyCode::VK_CHANGE_INPUTSOURCE_ENGLISH, | |
| KeyCode::ESCAPE, KeyCode::ESCAPE | |
| </autogen> | |
| </item> | |
| </root> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment