It's nice that Visual Studio Code has a multi-cursor mode, and it's nice that it is possible to access it solely from the keyboard (although it would be much better if it worked according to native UI patterns on the Mac, but that's a different matter).
What's really frustrating, though, is that it seems to require using the mouse to get out of it.
Is there any keystroke that natively exits from multi-cursor mode?
Is there any command that does this that can have a keystroke bound to it?
Is there any extension that allows you to exit multi-cursor mode solely using the keyboard?
This is the default setting, enabling Shiftescape to exit multi-cursor mode:
{ "key": "shift+escape", "command": "removeSecondaryCursors",
"when": "editorHasMultipleSelections && textInputFocus" },
So I've added the following to my own configuration, to enable the much more intuitive escape to exit multi-cursor mode:
{
"key": "escape",
"command": "removeSecondaryCursors",
"when": "editorHasMultipleSelections && textInputFocus"
},
Simply type Esc
when there is no text selected, just multiple cursors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With