Juicy lil' bytes

Multi-Select Editing With Sublime Text

This is at the top of my favorite Sublime Text features list. Use these keyboard shortcuts to find all instances of a string in a file and then simultaneously edit them. It’s a gem and works in versions 2 and 3 of Sublime Text.

Key to the Keys

⌃ = CTRL key

⌘ = CMD key

The Keyboard Shortcuts

Command Mac OSX Windows Linux
Multi-Select Editing ⌃ + ⌘ + G ALT + F3 ALT + F3

How to Use It

Select any string in your text and then enter the keyboard shortcut. Sublime Text will select all instances of the string in the document and place a cursor at the end of every match. Delete the matched strings and enter something new or append whatever you need to the matched text. Your edits show up at every matched position simultaneously.

More Sublime Text Shortcuts

You can find a detailed list of Sublime Text 2 and 3 shortcuts on the post, Sublime Text Keyboard Shortcut Cheat Sheet.