The 'VIM Regular Expressions' at http://www.geocities.com/volontir/ says

:g/^$/,/./-j
- reduce multiple blank lines to a single blank

I understand the ':g/^$/' part, but not the ',/./-j' part.

Anybody cares to explain this?

TIA,

Guido.

--
http://vanhoecke.org  ... and go2 places!

Reply via email to