brackets-vimderbar icon indicating copy to clipboard operation
brackets-vimderbar copied to clipboard

Esc remapping

Open barrio opened this issue 6 years ago • 1 comments

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?

barrio avatar Jul 12 '18 20:07 barrio

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.

casecadet avatar Apr 17 '19 04:04 casecadet