Is there a shortcut key or single-step menu option to find and select all instances of a highlighted selection in Sublime Text?
The simplest way: put cursor on name, alt+f3 (select all), then type your new variable name. In case there is multiple stuff named name but you don't want to change them all: put cursor on name, ctrl+d every time you want to accept the selection and ctrl+k,ctrl+d if you want to skip the selection and go to the next.
Alternatively you can select lines and go to SELECTION MENU >> SPLIT INTO LINES. Now you can edit multiple lines, move cursors etc. for all selected lines.
On Mac OS you can use: CMD + CTRL + G
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