Daily Archives: October 23, 2008

How to Remove All Blank Lines in VIM

Regular expression to remove empty lines: :%g/^$/d

Posted in Regular Expressions | Leave a comment