Eric Leenman wrote:
Hi,

With the follwing subtitue it's possible to remove blocks of 3 empty lines
:%s/^\n\{3}//

How do you need to change it, so that it does remove blocks of 2, or more, empty lines?
And how do you give this command just before closing the file?

Rgds,
Eric

        :au BufWritePre %s/^\n$/\r/


Best regards,
Tony.
--
God is real, unless declared integer.

Reply via email to