How to define key sequence with the effect of `evil-escape-key-sequence`?
concretevitamin opened this issue · comments
Zongheng Yang commented
Hello,
This is a great extension, thanks for making it.
A quick question as I adjust to it. In my .spacemacs
I have
(setq-default evil-escape-key-sequence (kbd "jj"))
Namely typing jj
while editing something would escape me back to normal mode. Is there a simple way to define this in VSpaceCode? Searching "escape" in settings.json
and in docs returns no results.
Marco Ieni commented
Hey 👋
From https://github.com/VSCodeVim/Vim readme:
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
],
Zongheng Yang commented
Thanks! Works for me!
Seçkin Kükrer commented
This might be considered as default behavior and binding.