Remove/Add Line Breaks after Specific String using Sublime Text

Here’s how you’d do it on a Mac:

Command+F > type string > Control+Command+G > ESC > Right Arrow > line break

and Windows/Linux (untested):

Control+F > type string > Alt+F3 > ESC > Right Arrow > line break

The important part being Control+Command+G to select all matches.
Once you’ve selected the text you’re looking for, you can use the provided multiple cursors to do whatever text manipulation you want.

Protip: you can manually instantiate multiple cursors by using Command+click (or Control+click) to achieve similar results.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)