How To Search For And Delete Lines Globally In Vim

Published Date Author: , Posted November 27th, 2010 at 11:40:26am

Delete all comment lines:
:g/^#/d

Delete all blank lines:
:g/^$/d

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.