Article View: news.software.readers
Article #242039Re: Quotelength with slrn and vim
From: Troy Piggins
Date: Sun, 08 Aug 2010 21:52
Date: Sun, 08 Aug 2010 21:52
42 lines
2945 bytes
2945 bytes
* houghi wrote : > Not strictly a newsreader issue, but perhaps people here will have more > experience with this issue. > > When I do a reply I do a cmplete reply as it is. However when doing a > reply to people who have not formatted their length correctly, or if > there are many quotes, the line length can become too long. > > e.g. >>>>>> lorem ipsum dolor sit amet consetetur sadipscing elitr sed diam nonumy > > instead of > >>>>>> lorem ipsum dolor sit amet consetetur sadipscing elitr sed diam >>>>>> nonumy > > I am able to do it by hand, but I am unable to do it automagically when > the quote opens. I have two questions: > 1) Perhaps most importand, is it wanted to restrict the width in the > quoted text. If not, then all is well. > 2) If wanted, how dod I do this? I have looked at several web pages and > I know it has something to do with ftplugin, but somehow I can not get > it to work. > > houghi I see you've been using and recommended the "gqap" command. I use "gqip" instead. TBH I've been doing that so long, can't remember the difference between the 2, but seem to remember it's better for multiple quotes. It's trivial to map it to a single keystroke instead of 4. Not sure if you've tried there, but some very clever vim users in the comp.editors group. Personally I don't like automatically changing the format as I open the editor, because as you've discovered the results are sometimes undesirable. Not sure if it can be undone as easily if it's executed from the commandline. -- Troy Piggins
Technical Details
Message-ID:
<20100809073241@usenet.piggo.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeed.datemas.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mailReferences:
<slrni5qtcf.d1a.houghi@penne.houghi>Show Full Headers
Complete Article Headers
Message-ID: <20100809073241@usenet.piggo.com> Subject: Re: Quotelength with slrn and vim Date: Mon, 09 Aug 2010 07:52:49 +1000 From: Troy Piggins <usenet-1008@piggo.com> References: <slrni5qtcf.d1a.houghi@penne.houghi> 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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeed.datemas.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 42 Reply-To: usenet-1008@piggo.com Injection-Date: Sun, 8 Aug 2010 21:55:50 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="Ohl4FEtI2Lg7mMC2HOwcEw"; logging-data="23839"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qhcyBjziguo3Pco8xUoCJgwlpmddjb4M=" User-Agent: slrn/pre1.0.0-11/rt (Linux) X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) Cancel-Lock: sha1:UYia+qMWNwmT9kviHL6tWDHB3zA= X-Original-Bytes: 2639