🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #35425

Re: slrn and vim - removing the signature

#35425
From: Sven Guckes
Date: Wed, 23 Jul 1997 00:00
26 lines
1620 bytes
sandy@herring.org (Sandy Herring):
> >	"   ,kqs = kill quoted sig (to remove those damn sigs for replies)
> >	map ,kqs G?^> *-- $<CR>dG
> Or, if your own .sig is already appended to the
> followup and you don't want to chomp it, use...
> 	map ,kqs G?^> *-- $<CR>d}

Oops - I overlooked that case.  Good point!  :-)

But then the own signature might be appended right after the quoted text, ie
without an empty line in between; in that case the "d}" would delete it, too.
So - how would you make sure that the mapping works in both cases?
Well, you could delete until the sigdashes of your own signature:

	map ,kqs G?^> *-- $<CR>d/^-- $/<C-M>

Of course this will fail if you do not use sigdashes yourself.  ;-)

> p.s.	thanks 1.0e+6 for all your advice re: slrn, vim & mutt, Sven!

You're welcome!  :-)

Sven

Technical Details
Message-ID: <slrn5tc00i.6fq.guckes@banach.math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <5qstqk$6iv$1@sonne.mabi.de> <slrn5t7m5u.1hr.guckes@banach.math.fu-berlin.de> <5r3m1u$45k$1@nntp.structured.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5tc00i.6fq.guckes@banach.math.fu-berlin.de>
Subject: Re: slrn and vim - removing the signature
Date: Wed, 23 Jul 1997 00:00:00 +0000
From: guckes@math.fu-berlin.de (Sven Guckes)
References: <5qstqk$6iv$1@sonne.mabi.de> <slrn5t7m5u.1hr.guckes@banach.math.fu-berlin.de> <5r3m1u$45k$1@nntp.structured.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 258306457
X-Newsreader-Info: http://www.math.fu-berlin.de/~guckes/slrn/
Organization: Freie Universitaet Berlin
X-Access: 16 17 19
Reply-To: guckes@math.fu-berlin.de
Newsgroups: news.software.readers