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
When using C-o in insert mode, followed by some "enter to insert mode" commands, we enter a buggy "insert mode" which requires to press <Esc> twice in order to exit it, instead of exiting it by pressing <Esc> only once.
To Reproduce
Enter insert mode.
Type any word.
While still in insert mode, press C-o followed by either A, a, I, i, O, o.
Press <Esc>once
Still in insert mode 😞
Expected behavior
After pressing <Esc>, the expected behavior is to enter normal mode.
Environment
Extension (VsCodeVim) version: 1.12.4
VSCode version: 1.41.1
OS: Linux x64
The text was updated successfully, but these errors were encountered:
I looked a bit into this. It'd appear to me setting VimState.returnToInsertAfterCommand back to false after entering Insert Mode would fix it. I could make some changes and add some tests.
When using
C-o
in insert mode, followed by some "enter to insert mode" commands, we enter a buggy "insert mode" which requires to press<Esc>
twice in order to exit it, instead of exiting it by pressing<Esc>
only once.To Reproduce
C-o
followed by eitherA
,a
,I
,i
,O
,o
.<Esc>
onceExpected behavior
After pressing
<Esc>
, the expected behavior is to enter normal mode.Environment
The text was updated successfully, but these errors were encountered: