Help us understand the problem. What is going on with this article?

Mojaveのvimでescキーのみで、英数入力にしつつinsert modeを脱出する方法

More than 1 year has passed since last update.

こんにちわ、vimさんいつもお世話になってます。

っっっj 問題

Mojaveに移行してから、なぜかKarabiner-Elementsで設定しても、escキーで英数入力に切り替わらず、insertモードから抜けたのに、日本語入力のまま っっっっj みたいな入力になってしまい本当にイライラいするこの1ヶ月。
やっと解決したので、メモ

DeviceタブでチェックボックOn のみ

MacBook Pro (15-inch, 2018), OSX(10.14.3) の場合だと、Karabiner-ElementsのDeviceタブに2行デバイスが出ています。ここの設定を

No product name > チェックあり
Apple Internal Keyboard > チェックなし

スクリーンショット 2019-02-13 14.30.40.png

この設定で、Complex Modificationsタブの中の設定が有効になりました。

karabiner.json

追加したルール

{
  "description": "escキーを押したときに、英数キーも送信する(vim用)",
  "manipulators": [
                    {
                       "from": {
                            "key_code": "escape"
                        },
                        "to": [
                               {
                                 "key_code": "escape"
                                },
                               {
                                  "key_code": "japanese_eisuu"
                               }
                             ],
                       "type": "basic"
                            }
                        ]
                    }```
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした