Archive for the ‘Regular Expressions’ Category

How to Remove All Blank Lines in VIM

Thursday, October 23rd, 2008

Regular expression to remove empty lines:

:%g/^$/d