Unable to switch back to normal mode in insert mode
See original GitHub issueDescribe the bug I am unable to switch back to normal mode after pressing ESCAPE in insert mode (default keybinding).
To Reproduce Steps to reproduce the behavior:
- Press
i
to start editing file - Press
Escape
to go back to normal mode - Stays in insert mode
Expected behavior I expect the plugin would bring me back to normal mode.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 0.15.3
- VSCode version: 1.25.0 (snap package version)
- OS: Ubuntu 18.04
Additional context I partially fixed the problem by changing this
{
"key": "escape",
"command": "extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl"
}
to (removing inDebugRepl
check)
{
"key": "escape",
"command": "extension.vim_escape",
"when": "editorTextFocus && vim.active"
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
When using the Vim editor, I cannot switch back to normal ...
When using the Vim editor, I cannot switch back to normal mode from insert mode. Since releasing support for Vim and Emacs modes...
Read more >How do I switch between command and insert mode in Vim?
Pressing ESC quits from insert mode to normal mode, where you can press : to type in a command. Press i again to...
Read more >Switch between Normal mode and Insert mode? : VIM-819
Hey, I am using Mac WebStorm9 with the latest IdeaVim plugins. Under the tools, I choose Vim Emulator on by default. Every open...
Read more >Vim Stuck In Insert Mode - linux - Super User
Makes Vim work in a way that Insert mode is the default mode. ... a number of Normal mode commands, then use Esc...
Read more >Automatic insert mode and normal mode switching
I have been recently trying out Vim, and I found out you need to first exit insert mode to then use commands. So,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Setting
"keyboard.dispatch": "keyCode"
fixes this issue for me when I’m using a remote Linux desktop. This may help: https://github.com/Microsoft/vscode/wiki/Keybinding-Issues#troubleshoot-linux-keybindingsSounds like we have a resolution?