0

I want to rebine the capslock key to esc in the vim on vscode.I configure my vim in the setting.json.

"vim.insertModeKeyBindings": [
    {
      "before": ["j", "j"],
      "after": ["<Esc>"]
    },
    {
      "before": ["capslock"],
      "after" : ["<Esc>"]
    }
  ],

I have tried the "capslock" ,<CapsLock>,<capslock>,"CapsLock"or "caps lock"and so on.But these all don't work.

THe solution : I use the hotkey software to rebind the key,i.e. change the keybinding in my whole computer

Half Dream
  • 11
  • 3

0 Answers0