How to Remove All Blank Lines in VIM
Regular expression to remove empty lines:
:%g/^$/d
This entry was posted
on Thursday, October 23rd, 2008 at 7:10 am and is filed under Regular Expressions, VIM.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.