<<< Date Index >>>     <<< Thread Index >>>

Re: removing signature



* K. Shantanu  wrote:

> I am looking for a way to remove quoted signatures.
> I use mutt 1.4i and vim as my editor.

Try to put this in your ~/.vimrc:

autocmd BufRead /tmp/mutt*[0-9] normal :g/^> --\s\=$/,/^$/-1d^M^L

This do the right thing for me, automagically and without any maps Note:
you have to do the last two chars (^M^L) with ^V at the beginning (press
Ctrl-V and then Ctrl-M etc)

regards,
schamil

Attachment: pgp3dDWS4JXQO.pgp
Description: PGP signature