LoginSignup
6
6

More than 5 years have passed since last update.

Macのsublime text2のvintageモードでinsertモードから抜けた時にimeをoffする

Last updated at Posted at 2013-04-12

準備

Keyremap4Macbookをインストールしてください。
http://pqrs.org/macosx/keyremap4macbook/index.html.ja

Keyremap4Macbookの設定の追加

  1. preferenceを開く。
  2. Misc & Uninstallタブを選択。
  3. open private.xmlをクリック。
  4. Finderが起動し、private.xmlが見えるのでお好みのエディタで開きます。
  5. 以下の内容を追加。すでに自分の設定がある場合、itemタグの中だけでOK。
<?xml version="1.0"?>
<root>
    <item>
        <name>control+[ with ime-off</name>
        <identifier>private.ctrl-L2ctrl-L+IME-OFF</identifier>
        <appendix></appendix>
        <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::CONTROL_L, KeyCode::BRACKET_LEFT, ModifierFlag::CONTROL_L, KeyCode::JIS_EISUU</autogen>
    </item>
</root>

identifierはユニークでなければならないので自分の環境で唯一の名前をつけてください。

終了。

参考にさせていただいたサイト

おまけ

MacVimはこの設定がなくてもいけてる?

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6