uim-skk(MacUIM) ユーザーなんだけど、iTerm 内のVim でC-[ でIMEオフにしたい→C-Gで妥協した

Esc ではできてる(UIM のvi 強調モード)
MacVim では問題ない

Esc では効くのでKeyRemap4MacBook でマッピング書いてみたがうまくいかずふて寝。→C-Gで妥協したらできた

private.xml Reference Manual
http://pqrs.org/macosx/keyremap4macbook/xml.html#t3

  <!-- https://github.com/tekezo/KeyRemap4MacBook/blob/master/src/core/server/Resources/appdef.xml -->
  <appdef>
    <appname>TERMINAL</appname>
    <equal>com.apple.Terminal</equal>
    <equal>iTerm</equal>
    <equal>net.sourceforge.iTerm</equal>
    <equal>com.googlecode.iterm2</equal>
  </appdef>

  <item>
    <name>Escape IME on Terminal</name>
    <identifier>private.appdef.terminal</identifier>
    <only>TERMINAL</only>
    <autogen>--KeyToKey---
        KeyCode::G, ModifierFlag::CONTROL_L,
        KeyCode::ESCAPE
    </autogen>
  </item>