Re: Automatically truncating signatures
- To: mutt-users@xxxxxxxx
- Subject: Re: Automatically truncating signatures
- From: Michael Pobega <pobega@xxxxxxxxx>
- Date: Sat, 7 Apr 2007 09:59:41 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=PuttCmP0f7Sd8pzDBX2/2p7+z0DqNoroeVu2pPOG0Kvw6t/MUWMMqZXcQEPnENm3jWHmUNo43Zp302uYXvxpw8yjR4stFFyg8NV5sjqQ2lpEcs/OlsWPmGu/Xbth2pq3B7RYvdS+SrJk3zg4fOcRL8O7C+Bx/2E+oWhDNq2qw2k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Hxb4+IZRSDp/oX991FFgUzkuhgCIuY0rXvY/EfwaqLCyUAcgjCu1QT0QAFKZ7UJaoXBk69MgsRS1ydsGaJ6wg51BtYExcCNJWz8em3kNmttFQoF97WezjaWU49TdCxbSVNeJK3cgvIZQDlboMze+cDFvB1TSqdKKvXRGNVsdI7A=
- In-reply-to: <20070407083541.GB4877@xxxxxxxxxxxxxxxxxxxxx>
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20070407035634.GB5869@localhost> <20070407083541.GB4877@xxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.13 (2006-08-11)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Apr 07, 2007 at 10:35:41AM +0200, Elimar Riesebieter wrote:
> On Fri, 06 Apr 2007 the mental interface of
> Michael Pobega told:
>
> >I'm using Vim as my text editor and I've yet to figure out a good way
> >to automatically truncate everything below the signature line (----)
> >when I reply to a message.
> >
> >I'd like to do this because I'd like to start using a signature in my
> >messages, and having to get rid of all of the signatures and automated
> >mailing list messages on every message manually is a bit irritating.
>
> Deletes everything from cursor line position till the last --
> (<dash><dash><blank>):
> map ,ds :.;/^-- $/d<CR>O<home>-- <ESC><right>d<End>I<CR><CR><UP><UP>
>
> Elimar
>
I don't understand how to use that. I put it in my .vimrc and it's not
working, I tried:
(-- ):<stuff>
- -- :<stuff>
:<stuff>
But none of it works right. Am I putting it in the wrong place?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGF6PN/o7Q/FCvPe0RAueBAJ9fP9JhIjOK/LbtLzC7yF7OT5E86QCbB4CW
p+sAZYaKyeePY2ugeMU6fn0=
=tN1e
-----END PGP SIGNATURE-----