🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #165455

vim macro for [slrn] -was- Re: Way to remove ad sig?

#165455
From: Blinky the Shark
Date: Sat, 16 Apr 2005 20:50
25 lines
2340 bytes
Blinky the Shark wrote:

> PJR wrote:

>> AFAICR, yes it was, but it doesn't advance the discussion of how to
>> remove double signatures automatically. I want a vim command that will
>> remove everything from the first single-quoted sig delimiter to the
>> start of my own sign-off line. I'll work on it, but I'm not good with
>> regexps.

> Give this a shot:

>:nmap <F9> gg/^>-- <CR>maG?^-- <CR>kv`ad

That works for this kind of quoting: >-- 

But if quoting editor adds a space:  > -- 

the macro doesn't pick it up.  Anyone got a simple tweak for making it
find either style of quoting with its first search? 

-- 
Blinky         Linux Registered User 297263
Support The Usenet Improvement Project 2005
Info:   http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID: <slrnd62ul0.sar.no.spam@thurston.blinkynet.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.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Xns9634AA90AC0A8sultanofcyberhotmail@38.119.71.210> <slrnd5j8tt.5jc.no.spam@thurston.blinkynet.net> <Xns9634C961159B8sultanofcyberhotmail@38.119.71.210> <slrnd5jk5r.92e.dcmoose@moosemeat.ca.INVALID> <slrnd5loeq.4bf.pjr@nntp.petitmorte.net> <slrnd5lpre.564.no.spam@thurston.blinkynet.net> <slrnd5lsfi.4bf.pjr@nntp.petitmorte.net> <slrnd5lvqg.564.no.spam@thurston.blinkynet.net> <slrnd5m2j2.4bf.pjr@nntp.petitmorte.net> <slrnd5m3do.eo7.no.spam@thurston.blinkynet.net> <slrnd5m70r.4bf.pjr@nntp.petitmorte.net> <slrnd61ipg.g3c.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnd62ul0.sar.no.spam@thurston.blinkynet.net>
Subject: vim macro for [slrn] -was- Re: Way to remove ad sig?
Date: Sat, 16 Apr 2005 20:50:41 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <Xns9634AA90AC0A8sultanofcyberhotmail@38.119.71.210> <slrnd5j8tt.5jc.no.spam@thurston.blinkynet.net> <Xns9634C961159B8sultanofcyberhotmail@38.119.71.210> <slrnd5jk5r.92e.dcmoose@moosemeat.ca.INVALID> <slrnd5loeq.4bf.pjr@nntp.petitmorte.net> <slrnd5lpre.564.no.spam@thurston.blinkynet.net> <slrnd5lsfi.4bf.pjr@nntp.petitmorte.net> <slrnd5lvqg.564.no.spam@thurston.blinkynet.net> <slrnd5m2j2.4bf.pjr@nntp.petitmorte.net> <slrnd5m3do.eo7.no.spam@thurston.blinkynet.net> <slrnd5m70r.4bf.pjr@nntp.petitmorte.net> <slrnd61ipg.g3c.no.spam@thurston.blinkynet.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.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 25
X-Trace: individual.net riYrCOwyehobsLhuPUduNwkL8GI88iWFqBm7NUyUIym4nrU4Wa
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
User-Agent: slrn/0.9.8.1 (Linux)