
Then, type the word you would like to select in the document and hit ⌥ + ↩. First, press ⌘ + F to open the "Find" bar at the bottom.

Select All Instances ⌃ + ⌘ + GĪlternatively, you can use "Find". This command is aptly named "Quick Find All". If you're certain that you want to select all identical blocks of text in the document, ⌃ + ⌘ + G will get the job done much quicker than by pressing ⌘ + D multiple times. Select All Instances of the Same Word ⌃ + ⌘ + G ( Alt + F3 on Windows) You will still need to press ⌘ + D to highlight the instance first, but you can then choose to ignore it by following up with ⌘ + K. If you would like to skip one of the instances, there is another nifty keyboard shortcut to consider: ⌘ + K. Select Multiple Instances of the Same Word ⌘ + D With the help of multiple cursors, you can then easily change every highlighted instance in a single take. Sometimes, I use this shortcut to simply highlight a word, but if you press this shortcut multiple times, it will look for the next instance of the same word and select it. Select Multiple Instances of the Same Word ⌘ + D ( CTRL + D on Windows)Īs soon as you type ⌘ + D, the entire word will be selected. Below you can find some of the best ways to quickly select text. Quick Text SelectionĪs mentioned in the introduction, Sublime is extremely powerful when it comes to selecting text, due to the multi-selection feature.
Best text editor mac column highlight regex search series#
If you have a hard time memorizing new shortcuts, have a look at part 1 of our series for some keyboard-related tips. Keyboard ShortcutsĪs expected from a competent text editor, Sublime comes with a plethora of keyboard shortcuts that you should learn and take advantage of. Time for a deep dive on Sublime Text!Īll set? Let's begin! 1. I will also list some of my favorite themes and packages. Today I will share the most essential commands to quickly get things done and some customization you should look into.

I find it great for writing down quick thoughts. This enables ST to exit immediately without any prompts, preserving all changes to the document and even unsaved files for the next time the editor is launched. "Hot Exit" is another feature worth mentioning and one of my favorites in Sublime.
