Article View: news.software.readers
Article #137842Re: [slrn] using vim
From: Mike Vanecek
Date: Fri, 21 Nov 2003 01:02
Date: Fri, 21 Nov 2003 01:02
45 lines
2471 bytes
2471 bytes
On 16 Nov 2003 22:29:38 GMT, Sven Guckes wrote:
> * Mike Vanecek <MikeV99@privacy.net>:
>> On 16 Nov 2003 06:26:11 GMT, Blinky the Shark wrote:
>>> " delete quote indicators on empty lines
>>> " from w.citoan in n.s.r:
>>> au BufRead ~/.followup :% s/^>[ >]*$//
>>
>> I put that in my .vimrc. However, when
>> I do a followup, I get the following prompt:
>>
>> "~/.followup" 84L, 2780C
>> 26 substitutions on 26 lines
>> Hit ENTER or type command to continue
>>
>> Anyway of tweaking it so one does not
>> have to confirm the substitutions?
>
> :set cmdheight=2
>
Here is what my .vimrc looks like:
" Spelling Macros
map <f8> \1\2<CR>:e! %<CR>
map \1 :w!<CR>
map \2 :!/usr/local/bin/newsbody -qs -n % -p /usr/bin/aspell check
\%f<CR>
" Auto reformat macro
map <f5> gg/^$<CR>V/^-- $<CR>{gq`^
map <f4> :set nohlsearch
" delete quote indicators on empty lines
" from w.citoan in n.s.r:
au BufRead ~/.followup :% s/^>[ >]*$//
set cmdheight=2
Unfortunately, the addition of the quote indicators fix zapped my call
to the spelling macros. I do not know enough about what is going on here
to know how to fix it.
Any assistance from one with more expertise than I would be appreciated.
--
Thanks, Mike.
Technical Details
Message-ID:
<hc4091-fjb.ln1@news.invalid.99computer>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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!newscene!novia!novia!sequencer.newscene.com!not-for-mailReferences:
<2e44pb.oq3.ln@127.0.0.1> <slrnbrbpoa.26n.teergrube@doczook.de> <4o36pb.ki9.ln@127.0.0.1> <slrnbrdig7.lgv.no.spam@thurston.blinkynet.net> <a2o6pb.f4a.ln@127.0.0.1> <slrnbrds7m.lgv.no.spam@thurston.blinkynet.net> <fe17pb.g8a.ln@127.0.0.1> <slrnbre644.rag.no.spam@thurston.blinkynet.net> <kk3l81-jp7.ln1@news.invalid.99computer> <2003-11-16T22-28-22@guckes.net>Show Full Headers
Complete Article Headers
Message-ID: <hc4091-fjb.ln1@news.invalid.99computer> Subject: Re: [slrn] using vim Date: Fri, 21 Nov 2003 01:02:29 +0000 From: Mike Vanecek <MikeV99@privacy.net> References: <2e44pb.oq3.ln@127.0.0.1> <slrnbrbpoa.26n.teergrube@doczook.de> <4o36pb.ki9.ln@127.0.0.1> <slrnbrdig7.lgv.no.spam@thurston.blinkynet.net> <a2o6pb.f4a.ln@127.0.0.1> <slrnbrds7m.lgv.no.spam@thurston.blinkynet.net> <fe17pb.g8a.ln@127.0.0.1> <slrnbre644.rag.no.spam@thurston.blinkynet.net> <kk3l81-jp7.ln1@news.invalid.99computer> <2003-11-16T22-28-22@guckes.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!newscene!novia!novia!sequencer.newscene.com!not-for-mail Newsgroups: news.software.readers Lines: 45 X-Archive: encrypt User-Agent: slrn/0.9.8.0 (Linux)