On Fri, Feb 08, 2002 at 10:19:28PM +1100, Cameron Simpson wrote:
> On 08:38 08 Feb 2002, Nick Wilson <[EMAIL PROTECTED]> wrote:
> | No. hehe, but a nice gentlemen from 'the rolling hils of south carolina'
> | sent me this handy little vim macro:
> |
> | map <C-l> {!}par 72}j
> |
> | Of course you need par installed, but it works a treat. Just hit ^l and
> | it will reformat the lines for you.
>
> Wouldn't fmt do ok? It'll mangle quoted text (which I presume is the
> advantage of par) but OTOH is already installed.
If you want something already installed and you're using vim, why not
use vim? It also handles the quoting properly.
map <C-l> gqip}j
Gary
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |