On Saturday, 28.07.2001 at 01:38 -0700, Jim Mock wrote:
> I don't know if anyone else has noticed this, but I recently installed
> vim 5.8.8, and the behavior with using gqG to wrap seems to have
> changed. Previously, it would ignore the signature when it wrapped.
> Now it wraps the sig up to the sigdashes, so it looks like this:
>
> -- jim mock <[EMAIL PROTECTED]> technical writer | iXsystems,
> Inc. http://soupnazi.org/ work: [EMAIL PROTECTED] |
> [EMAIL PROTECTED]
>
> Has anyone noticed that? If so, is there a way around it? I know
> this really isn't the proper list to be asking, but I figured enough
> people here use vim that somebody might know :-)
I use a ViM macro to do this:
map fd ggV/^-- <CR><up>gq
This goes to the top (gg), highlights up to the sig-line (two dashes and
a space), goes BACK one line and then formats.
Hope that helps.
Dave.
--
Dave Ewart
[EMAIL PROTECTED]
Computing Manager
ICRF Cancer Epidemiology Unit, Oxford UK
PGP signature