mle
mle copied to clipboard
More multi-cursor commands
Hi there,
Which commands actually refer to using multiple cursors?
I'm trying to map the key commands of mle
to be as similar to Sublime Text (or Micro) as possible.
Specifically I'd like to highlight a word with Ctrl-Shift-Right, then press either Ctrl-d or Alt-n to create the new cursor, and highlight the next occurance of the word. I'd like to be able to go back to the first cursor only, removing all others, using the ESC key.
Thanks.
Hello, sorry for the delayed reply. There's no built-in command that does that, but I think you could do it with a user script or a macro. The built-in multiple cursor keybindings are (by default):
-
C-/ .
: drop sleeping cursor -
C-/ a
: wake all sleeping cursors -
C-/ /
: remove all but the primary cursor -
C-/ '
: when highlighted across multiple lines, drop a column of cursors (similar to micro'sSpawnMultiCursorSelect
) -
C-/ l
: with multiple cursors active, pad with whitespace to make them all aligned -
C-/
(at an isearch prompt): drop a cursor at every match
I don't use multiple cursors that often, but when I do, it's mostly the last 4 commands.
I can take a shot at implementing SpawnMultiCursor
, SpawnMultiCursorUp
, SpawnMultiCursorDown
from micro.
Hello, sorry for the delayed reply. There's no built-in command that does that, but I think you could do it with a user script or a macro. The built-in multiple cursor keybindings are (by default):
C-/ .
: drop sleeping cursorC-/ a
: wake all sleeping cursorsC-/ /
: remove all but the primary cursorC-/ '
: when highlighted across multiple lines, drop a column of cursors (similar to micro'sSpawnMultiCursorSelect
)C-/ l
: with multiple cursors active, pad with whitespace to make them all alignedC-/
(at an isearch prompt): drop a cursor at every matchI don't use multiple cursors that often, but when I do, it's mostly the last 4 commands.
I can take a shot at implementing
SpawnMultiCursor
,SpawnMultiCursorUp
,SpawnMultiCursorDown
from micro.
Sleeping cursor not working on MacOS