You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like to have ii mapped to Esc in insert mode (my Colemak equivalent of jj), which works fine in vim, however it causes some unusual behaviour in VSCodeVim.
In VSCodeVim, if I press i to change to insert mode, it enters insert mode, but if I press i again (before the timeout), it returns to normal mode, and undoes the last edit I made.
Normally in vim, pressing i to enter insert mode, followed by i again allows me to continue in insert mode.
My best guess is that the i to enter insert mode is being counted as part of the ii insert mode mapping.
I like to have
ii
mapped toEsc
in insert mode (my Colemak equivalent ofjj
), which works fine in vim, however it causes some unusual behaviour in VSCodeVim.In VSCodeVim, if I press
i
to change to insert mode, it enters insert mode, but if I pressi
again (before the timeout), it returns to normal mode, and undoes the last edit I made.Normally in vim, pressing
i
to enter insert mode, followed byi
again allows me to continue in insert mode.My best guess is that the
i
to enter insert mode is being counted as part of theii
insert mode mapping.My Config
"vim.insertModeKeyBindings": [{ "before": ["i", "i"], "after": ["<Esc>"] }]
Environment
The text was updated successfully, but these errors were encountered: