🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #165463

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

#165463
From: Blinky the Shark
Date: Sun, 17 Apr 2005 01:04
27 lines
2475 bytes
W. Citoan wrote:
> Blinky the Shark wrote:

>> >: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? 

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

> Will match 0 or 1 spaces between the ">" and "-".

> If you want to match more than 1, change the "\=" to "*" for any number
> of whitespace characters or replace it with "\{,m}" where m (your choice
> of actual number) is the maximum number to match if you want to limit
> it.

Bee-yootiful.  Thanks, W.

-- 
Blinky         Linux Registered User 297263
Support The Usenet Improvement Project 2005
Info:   http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID: <slrnd63dgt.3hh.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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsread.com!news-xfer.newsread.com!postnews.google.com!news2.google.com!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> <slrnd62ul0.sar.no.spam@thurston.blinkynet.net> <slrnd63d0f.19g.wcitoan@wcitoan-via.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnd63dgt.3hh.no.spam@thurston.blinkynet.net>
Subject: Re: vim macro for [slrn] -was- Re: Way to remove ad sig?
Date: Sun, 17 Apr 2005 01:04:30 +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> <slrnd62ul0.sar.no.spam@thurston.blinkynet.net> <slrnd63d0f.19g.wcitoan@wcitoan-via.supernews.com>
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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsread.com!news-xfer.newsread.com!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 27
X-Trace: individual.net X1jTiuCy/LvZsOpGcNctVQN+/1C1zUqCC0c1JFtqDsf11H5TFV
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)