How do i insert a blank line before every comment (eg "#") in VIM?
- by vivekeviv
Hi In Gvim I need to insert a blank line or two before every comment in the file.
Eg
#comment 1
#comment 2
statement 1
statement 2
#comment 3
After running the comamnd it should be
#comment 1
#comment 2
statement 1
statement 2
#comment 3
How do i do this?
Thanks