Escaping multiple cursors in the new editor

When multiple cursors are created (by holding Alt then dragging up or ideally down) in the legacy editor, pressing the Esc key preserves only the topmost cursor.

I find myself missing that feature almost every time I use multiple cursors in the new editor. Can this feature be enabled within CodeMirror 6? If not, could a simple plugin (ideally with a customizable keyboard shortcut) emulate the feature?

Interestingly, this seems to work in the web app (which also uses CodeMirror 6), but not in the desktop app.

I'm linking to a pull request that should resolve this:

1 Like