Article View: news.software.readers
Article #205413Re: Ping OHMSTER
From: Blinky the Shark
Date: Fri, 07 Sep 2007 04:49
Date: Fri, 07 Sep 2007 04:49
44 lines
2965 bytes
2965 bytes
Ohmster wrote:
> Blinky the Shark <no.spam@box.invalid> wrote in
> news:slrnfdn62k.6jj.no.spam@thurston.blinkynet.net:
>
>> Hey, plug this into your vimrc and see if it reformats the way you
>> want after you've edited a bunch of a reply. (I saw your req in c.e.)
>>
>> au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^--
>> $<CR>{gq^
>>
>> Do a bunch of editing; more than one para; make lines lengths ugly.
>>
>> Then press F5.
>
> Blinky,
>
> When I use vim as my editor in slrn, the lines wrap by themselves so the F5
> macro is not essential. I did want to use it though for a different news
Okay. That's not always the case with my version of vim, when I go back
and do editing in the middle of a line/paragraph.
> posting program, newspost which is a command line program that calls my
> EDITOR, vim in my case, for doing the text preface file. I tried to use F5
> in that and it did not do anything. I was able to use upper case Q <enter>
Look at the macro. It works when the file it's editing is named
.article or .followup (new post or reply). The other program isn't
going to be passing those filenames along to vim, so the macro isn't
going to activage. IOW, it's doing just what it's supposed to do --
only be mapped to F5 when being used within slrn.
> I would like to use this macro for that because newspost does not offer any
> auto-wrapping feature like slrn does with vim, any idea of how to make it
> work?
Nope.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project:
http://improve-usenet.org <----------- New Site Aug 28
Technical Details
Message-ID:
<slrnfe1m43.u8u.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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrnfdn62k.6jj.no.spam@thurston.blinkynet.net> <Xns99A3ECD65831FMyBigKitty@194.177.96.26>Show Full Headers
Complete Article Headers
Message-ID: <slrnfe1m43.u8u.no.spam@thurston.blinkynet.net> Subject: Re: Ping OHMSTER Date: Fri, 07 Sep 2007 04:49:26 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <slrnfdn62k.6jj.no.spam@thurston.blinkynet.net> <Xns99A3ECD65831FMyBigKitty@194.177.96.26> 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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 44 X-Trace: individual.net 02ZANiXTFEUZEyO2nw3elQzI38TsXIYrWpNrSaNplwcI5UvdhF Cancel-Lock: sha1:yltgxJD/OUe2vVa3hxj83fgua4Y= X-The-Usenet-Improvement-Project: http://blinkynet.net/comp/uip5.html 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 X-OS: Mandriva 2006 Linux; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=black; TextColor=black User-Agent: slrn/0.9.8.1 (Linux)