My two cents on formatting...

On 00-01-29 23:31, Marius Gedminas wrote:
> There's one more reason: mutt and vim (and I think this is the most

Formatting made easy with vim...
Try this:
set editor=vim_for_mutt

Script vim_for_mutt:
#!/usr/local/bin/bash

if [ $# -ne 1 ]
then
    echo "Usage: $0 <filename>"
    exit
fi
/usr/local/bin/vim "+set viminfo=" "+set tw=66" "+nmap  0d/^-- $
" $1

---end of script---

The 'tw=66' keeps my line length to that.  But only applies when
in editing email, not affecting my settings for when I'm doing
work.  (Also note, my little macro Ctrl-K which deletes from
position to my signature)

Now, for the really cool 'vim' part.  Visually select a messy
section with capital 'V', then hit 'gq' (like the magazine) and
you lines look good.

Okay, I know this is the 'mutt' list, but I thought this was
helpful and on topic.

-- 
-*           -kevin-            *-
-* sick with the good infection *-
-*       [EMAIL PROTECTED]       *-
-* http://www.pobox.com/~kathey *-

Reply via email to