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.