What command can I run to remove blank lines in Vim?
work with perl in vim:
:%!perl -pi -e s/^\s*$//g