If I edit a WordPress template in Sublime Text 2 after it has been edited in the WordPress editor, every other line is blank. I'd like to remove those ... ↓ del ↓ del ↓ del ↓ del is getting really annoying.
Note this is different from deleting all blank lines (i.e., Sublime Text 2: How to delete blank/empty lines). Some lines are intentionally blank.
Find what: \n\n
Replace with: \n
If the blank lines are odd, put the cursor on line 2. Otherwise, put the cursor on line 1.
Click Replace All
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With