function! Tofu()
call search('^$')
if 1 < line(".")
2,/^$/-1!sed -e 's/^> //' | t-prot -(your options here) | sed -e 's/^/> /'
+/^$/
endif
endfunction
and set editor variable inside ~/.muttrc
set editor="vim -c \"set spell tw=70 et\" \"+silent! call Tofu()\""
The extra search in Tofu() is for positioning cursor to just before my
signature when replying.
Or you may prefer to call Tofu() manually. ymmv
With t-prot, I actually like top posting. ;-)
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment