On Mon, Apr 05, 2004 at 04:22:37PM -0700 or thereabouts, David Bear wrote: > I'm constantly receive mails from those with horrible mua's like > outlook express where the lines are very very long. > > is there a mutt/vi way to re-wrap those lines at 70 col? > > I like the way emacs does it will fill-region. Anything comparable? In your ~/.vimrc put the following; :autocmd FileType mail :set tw=80 "Formatting the current paragraph according to ""the current 'textwidth' with ^J (control-j): imap <C-J> <C-O>gqap nmap <C-J> gqap vmap <C-J> gq "kill quoted sigs "au BufRead /tmp/mutt* normal :g/^> -- $/,/^$/-1d "/^$ "^L Then simply using control-j reformats to in this example 80 chars. Works for me. -- S.Allen ------------------------------------------- barnyard Monday Apr 05 2004 09:05:02 PM EDT ------------------------------------------- Psicólogo: É aquele que olha todos os demais quando uma mulher atraente entra na sala.
Attachment:
pgpvGFcvlxnBN.pgp
Description: PGP signature