`<Esc>` does not cancel multi-cursor
Describe the bug vim extension (v1.21.0) Multi-Cursor can't escape.
To Reproduce Steps to reproduce the behavior:
- enable vim extension (v1.21.0)
- gb * 2
- esc
- See error
Expected behavior Escape to Normal mode.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.21.0
- VSCode version: 1.56.2
- OS: windows 10 subsystem ubuntu 20.04
I'm getting this too. I'm guessing it has to do with this commit: https://github.com/VSCodeVim/Vim/commit/9091da09cc1c0a37bf3e659e11a7f2f9e0ea4999 but there are a few in the last changelog that are related to cursor so I'm not totally sure.
I noticed this problem because I'm used to the cursor being on a word, hitting ctrl+D a bunch of times to highlight multiples of the word, and hitting my extension.vim_escape key (for me it's ctrl+J) to lose the selection while maintaining multiple cursors. From there I can do whatever edits I need, and hit extension.vim_escape again to exit multiple cursors. That all works for me still except for the last part. With this update, extension.vim_escape does not exit multi-cursor mode anymore. I can map removeSecondaryCursors to be the same keybinding as extension.vim_escape, but then when I want to lose the selections while keeping multi-cursor, I also lose multi-cursor.
Shift + Esc is another workaround for the time being.
Shift + Esc worked for a little while for me and then inexplicably stopped working; another workaround I found was to undo (u) + redo (ctrl-r).
I also have this issue on Arch Linux; I noticed this after upgrading my Vim extension to 1.21.1. VSCode version is 1.56.2.
Shift + Esc seems to be a reliable workaround for me, which I can deal with for now.
Sorry about the regression! This will be fixed in 1.21.2, which will be released today.