-
Notifications
You must be signed in to change notification settings - Fork 12
Multiple Cursors
Alistair McKinnell edited this page Jul 3, 2017
·
9 revisions
The amazing multiple cursor feature pioneered by Sublime now available in RubyMine.
The technique I use the most is placing multiple cursors by finding text matches.
| Command | Effect |
|---|---|
| ctrl+g | works with a text selection (or without a selection on word boundaries surrounding the cursor) |
| shift+ctrl+g | go backwards through the selected text |
| command+ctrl+g | acts like ctrl+g for all matching text in the current file |
Tip: select extra punctuation characters (like a dot or parentheses) to avoid partial matches.
Place multiple cursors one at a time using alt+left mouse click.
Create a vertical column of multiple cursors using alt followed by alt+down arrow.
Experiment with cutting and pasting combined with multiple cursors.