[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mutt

On Tue, Mar 04, 2003 at 05:55:32PM -0600 or thereabouts, Steven Pritchard wrote:
> On Tue, Mar 04, 2003 at 10:42:07AM -0600, gfross@intertek.net wrote:
> > Please don't castigate me for not pouring over the documentation but
> > does someone know how to fix line wrapping or is it a Vi thing?
> I have the following in my muttrc:
>     set editor="vi -c 'set wm=10' %s"
> ("wm" is "wrapmargin".  That wraps at 70 columns on an 80-column
> terminal.)

I use (in Mutt) set editor="vim -c 'set tw=74 et' -c ':0;/^$'"

Drops your cursor to the first open line... 

> Oh, and probably off the subject a little, I use the following script to
> fix other people's line wrapping:

>     #!/usr/bin/perl
>     use Text::Autoformat;
>     $foo={ 'all' => 1 };
>     $foo->{'right'}=$ARGV[0] if ($ARGV[0]);
>     autoformat undef, $foo;

Cool beans...

For rewrapping lines, in VIM, I just use ESC gqip... many ways to skin a
cat ....


To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.