Losing focus when pressing esc in vim mode
Current behavior
Pressing esc key to exit insert mode makes losing focus of the editor.
Expected behavior
The editor should exit insert mode but it should not lose focusing.
Loosing focus ? Is it that view is changed to the different location of the code in the file? For view
No, the codemirror editor component unfortunately loses focus, the behaviour is a known issue when using VIM and contenteditable, so it has a fix but the fix breaks few other features (e.g., IME in codemirror), which is something new version of CodeMirror (v6) is trying to overcome.
I didn't understand what is loosing focus here ? Please explain.
Now I got it. The cursor disappears.
Yes, the cursor disappears since the component where you write text loses focus, so you basically cannot go back and be in view VIM mode.