Archive

Archive for the ‘Regular Expressions’ Category

How to Remove All Blank Lines in VIM

October 23rd, 2008 Masao No comments

Regular expression to remove empty lines:

:%g/^$/d

Categories: Regular Expressions, VIM Tags: