How to do the equivalent of CMD + D
in Sublime Text with RubyMine?
e.g. root this and that and this root.
root
CMD+D
selects both root
(in sublime)root
In RubyMine if I hold alt
and click the word I want, it will duplicate cursors like that. That's what I want, BUT I don't want to click the next word ... I just want a NON-CLICKING keyboard shortcut like CMD+D
in Sublime Text which is smart enough to select all of the same words.
After selecting matching text of the first instance you want to edit, type:
Ctrl+G
or Ctrl+CMD+G
(varies between installations or keymaps)alt-J
If none of those keybindings work for you, go to Preferences -> Keymap and search for the Select Next Occurrence editor command to see what it's bound to.
More here (bottom of page): http://blog.jetbrains.com/ruby/2014/03/whats-mining-multiple-cursors-and-selection/
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