From 151cd13afe04bf4bb0715b253232927fa9ca286d Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 6 Feb 2009 16:52:29 +0100 Subject: [VIM] Reformats mails using 'par' --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index db0236b..b445014 100644 --- a/vimrc +++ b/vimrc @@ -158,11 +158,13 @@ endfunction " n goto next empty reply-to paragraph " m opens an empty reply-paragraph at this line " d deletes everything until but the signature +" w reformats entire mail but the signature " D deletes everything until but the next reply-to ยง autocmd BufRead /tmp/mutt-*[0-9] map n /^> $ autocmd BufRead /tmp/mutt-*[0-9] map m 'ddO-I autocmd BufRead /tmp/mutt-*[0-9] map D ^d?^\([^>]\\|$\)?+O autocmd BufRead /tmp/mutt-*[0-9] map d ^d/^-- $O +autocmd BufRead /tmp/mutt-*[0-9] map w ggv/^-- $:!par rTbgqRe 'B=.,?_A_a' 'Q=_s>\|' autocmd BufRead /tmp/mutt-*[0-9] set textwidth=74 autocmd BufRead /tmp/mutt-*[0-9] execute Erase_Sig_but_Your() -- cgit v1.2.3