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

Re: Replying to Email / Removing previous signature



On 02/18/08, Breen Mullins wrote:
> * Joseph <tech@xxxxxxx> [2008-02-18 13:08 -0500]:
>
>> When replying to an email that you sent earlier, how would you go about
>> removing the previous signature?
>
> I use vim as my editor - I have a  macro defined in vimrc
>
> map ,ds :.,/^-- $/-1d<CR>O
>
> (ds for delete-to-sigdashes). It's not automatic, but it allows
> me to trim the leftover cruft at the bottom pretty easily.
>

Wow, that is really slick.

For others who may want to try this, I had to make some changes to get
it to work.

I put this in my .vimrc to get it to work:
 map ds :.,/^-- $/-1d<CR>O

Outlook seems to add an extra return to every line. How could I get that
removed? I expect a macro would be fine...
Anyone have a macro to do this?

-- 
+ respectfully, Joseph =========+

Attachment: signature.asc
Description: Digital signature