Article View: news.software.readers
Article #131026Re: A couple of questions about slrn.
From: Blinky the Shark
Date: Mon, 18 Aug 2003 17:44
Date: Mon, 18 Aug 2003 17:44
35 lines
2246 bytes
2246 bytes
Christian Dysthe wrote:
> 3. Does anyone have some good .vimrc settings slrn? I have good ones
> for mutt, but need some advice for slrn.
Here's a keystroke macro for smart formatting the body of a post:
<paste>
" keybinding: body only formatting keybinding for normal mode for slrn - thanks
" Tim Hammerquist. return cursor to place it was at when insert mode last left
" note: `^ is my add
au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^
</paste>
Here's one that will delete a rule (instead of waiting for the expiry,
if there is one). I made it for use with the Esc-1-v method of going to the
rule that the current article has triggered; i.e., do Esc-1-v, and run
this to remove it and return you to slrn.
<paste>
" keybinding: removes the scoring rule that slrn's Esc-1-v command takes you to:
:nmap <F6> ?^%BOS$<CR>V/^%EOS$<CR>dddZZ
</paste>
Keybind as desired. The latter could be refined to only be available for news.
--
Blinky Linux RU 297263
Spam: The Boulder Pledge http://snurl.com/bpledge
Digest: Best of Internet Oracularities http://snurl.com/dig_oracle
Technical Details
Message-ID:
<slrnbk243q.84m.no.spam@adam.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2References:
<bhqmeg$27bfc$1@ID-124988.news.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <slrnbk243q.84m.no.spam@adam.blinkynet.net> Subject: Re: A couple of questions about slrn. Date: Mon, 18 Aug 2003 17:44:00 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <bhqmeg$27bfc$1@ID-124988.news.uni-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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2 Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 34 NNTP-Posting-Host: p-086.newsdawg.com 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.7.4 (Linux)