removing blank lines in vim Thursday September 16, 2004 14:19, Will Kahn-Greene | Tweet this :g/^$/d From tip 372. I keep forgetting how to do this so I'm writing it down. Want to comment? Send an email to willkg at bluesock dot org. Include the url for the blog entry in your comment so I have some context as to what you're talking about.