Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to select all instances of selected region in Sublime Text

Tags:

sublimetext

Is there a shortcut key or single-step menu option to find and select all instances of a highlighted selection in Sublime Text?

like image 662
Martin Devarda Avatar asked Aug 28 '12 14:08

Martin Devarda


People also ask

How do you replace all variables 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.

How do you edit multiple lines in Sublime Text 3?

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.


1 Answers

On Mac OS you can use: CMD + CTRL + G

like image 192
Kurt UXD Avatar answered Sep 21 '22 09:09

Kurt UXD