--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, 24 Sep 2001 at 18:07:15 -0400, Justin R. Miller wrote:
> Thus spake Ren=E9 Clerc ([EMAIL PROTECTED]):
>=20
> > [... some marvelous Xemacs trick ...]
> >=20
> > Does anybody know if it's possible with vim? I mostly use mutt over
> > ssh...
>=20
> Here's one way:
>=20
> http://groups.yahoo.com/group/mutt-users/message/20095
> http://groups.yahoo.com/group/mutt-users/message/21602

That explains wrapping, but not right-justification, which i think is
what Ren=E9 wants.

Reading `:h right-justify' in vim pointed me to a utility called `par'.
I've only looked at par's options cursorially, but it seems filtering
text through `par 72j' does the trick, including preserving quoting.

This can be done via "!{motion}par 72j", or more conveniently by setting
vim's `equalprg' or `formatprg' options to `par 72j', and then
formatting text with "=3D{motion}" or "gq{motion}", respectively.

--=20
Piet Delport <[EMAIL PROTECTED]>
Today's subliminal thought is:

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE7r77CzRUP82sZFCcRAmbPAKCgLiGQJfG9EOxtiDzvHub08jmxqwCeJX5Y
Kv08GnS7bZ7WG6y9ySEnXwk=
=4tXS
-----END PGP SIGNATURE-----

--RnlQjJ0d97Da+TV1--

Reply via email to