- Open Sublime Text 3
- Make sure you have Package Control installed (https://sublime.wbond.net/installation)
- Press CTRL + SHIFT + P
- Type Install onto the dialogue window
- Select “Package Control: Install Package” and press “Enter”
- Search for and install “DeleteBlankLines”
- You are done! Congrats.
Windows Shortcuts:
Ctrl+Alt+Backspace –> Delete Blank Lines
Ctrl+Alt+Shift+Backspace –> Delete Surplus Blank Lines
Reference: https://rricketts.com/delete-blank-lines-selection-sublime-text-3/