Skip to content

Instantly share code, notes, and snippets.

@dylan-k
Created August 1, 2013 19:08
Show Gist options
  • Save dylan-k/6134265 to your computer and use it in GitHub Desktop.
Save dylan-k/6134265 to your computer and use it in GitHub Desktop.
Sublime Text 2: How to delete blank/empty lines
Select the text
Press Ctrl + H (or click Find->Replace)
Make sure you have selected 'regular expression' (press Alt + R)
Find what: ^\n
Replace With: (nothing, leave in blank)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment