How do I remap escape when in Sublime Text vintage mode?

前端 未结 4 773
感动是毒
感动是毒 2021-02-01 03:40

I am a vim user who is moving to Sublime text and using Vintage mode. In my .vimrc I have the following line:

imap jk 

4条回答
  •  被撕碎了的回忆
    2021-02-01 04:28

    If you are using the Vintageous plugin, use the following key binding:

    {
        "keys": ["j", "k"],
        "command": "_enter_normal_mode",
        "args": {"mode": "mode_insert"},
        "context": [{"key": "vi_insert_mode_aware"}]
    }
    

提交回复
热议问题