diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-02-06 16:52:29 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-02-06 16:52:29 +0100 |
commit | 151cd13afe04bf4bb0715b253232927fa9ca286d (patch) | |
tree | 436a2b3f2e47d44c68cf561cb90be3989f14e1f9 | |
parent | bd91be631f1665bf2d7fd9f27dac5e4e4087de25 (diff) |
[VIM] Reformats mails using 'par'
-rw-r--r-- | vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -158,11 +158,13 @@ endfunction " <ESC>n goto next empty reply-to paragraph " <ESC>m opens an empty reply-paragraph at this line " <ESC>d deletes everything until but the signature +" <ESC>w reformats entire mail but the signature " <ESC>D deletes everything until but the next reply-to ยง autocmd BufRead /tmp/mutt-*[0-9] map <ESC>n /^> $<CR> autocmd BufRead /tmp/mutt-*[0-9] map <ESC>m 'ddO<CR><CR><ESC>-I autocmd BufRead /tmp/mutt-*[0-9] map <ESC>D ^d?^\([^>]\\|$\)?+<CR>O<ESC> autocmd BufRead /tmp/mutt-*[0-9] map <ESC>d ^d/^-- $<CR>O<ESC> +autocmd BufRead /tmp/mutt-*[0-9] map <ESC>w ggv/^-- $<CR><UP>:!par rTbgqRe 'B=.,?_A_a' 'Q=_s>\|'<CR> autocmd BufRead /tmp/mutt-*[0-9] set textwidth=74 autocmd BufRead /tmp/mutt-*[0-9] execute Erase_Sig_but_Your() |