brackets-vimderbar
brackets-vimderbar copied to clipboard
Esc remapping
I want to do
inoremap jk <Esc>
I followed the docs about user custom key remappings and inserted the following in brackets.json:
"vimderbar.mappings": [
{"keys": "jk", "toKeys": "Esc", "mode": "insert"}
]
When I press jk in insert mode, jk is deleted but vimderbar still stays in insert mode. Do I miss something here or is this a bug?
Just set this up, in case anyone could still use an answer-- try <Esc> with brackets included:
"vimderbar.mappings": [{ "keys": "jk", "toKeys": "<Esc>", "mode": "insert" }]
I also map "kj" to the same thing, so I can just hit both keys simultaneously to exit.