How to use vim (key-bindings) with Visual Studio Code vim extension

前端 未结 3 1479
我寻月下人不归
我寻月下人不归 2021-02-01 15:13

I just started using Visual Studio Code and think it\'s really great. Also installed the vim extension, but I\'m struggling with mapping esc to a another key.

3条回答
  •  孤街浪徒
    2021-02-01 16:14

    Add the following to settings.json (open the Command Pallete and search for "User Settings"):

    "vim.insertModeKeyBindings": [
         {
             "before": ["j", "j"],
             "after": [""]
         }
    ]
    

    That should do it.

提交回复
热议问题