🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #242034

Re: Quotelength with slrn and vim

#242034
From: houghi
Date: Sun, 08 Aug 2010 14:10
26 lines
2745 bytes
W. Citoan wrote:
>>  As I never had an issue in all the years, perhaps it is easier to do
>>  it by hand as it does not happen that often. Thanks anyway for
>>  helping. I will look into it a bit further.
>
> I have the following two maps defined in my vimrc:
>
>   map <F1> <Esc>gqap                       " reformat paragraph
>   map <F2> <Esc>gg/^$<CR>V/^-- $<CR>{gq`^  " reformat message
>
> F1 fixes a single paragraph and F2 everything between the first blank
> line and the signature block.  As in editing a message I will sometimes
> change the line wraps, I find it easier to just hit a key when I need
> to.


Thanks. That will indeed be the easiest solution. I had the first line,
but I did not have the second one. I guess it will be indeed much easier
to do it that way. Again thanks.

houghi
-- 
This is written under the inluence of the following:
>   Artist : David Bowie
>     Song : Life On Mars?
>    Album : Hunky Dory
Technical Details
Message-ID: <slrni5tem4.bhk.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!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
References: <slrni5qtcf.d1a.houghi@penne.houghi> <slrn20100807125136.330.twooffive@may.eternal-september.org> <slrni5r6b3.d1a.houghi@penne.houghi> <slrn20100807145004.58.twooffive@may.eternal-september.org> <slrni5rjbu.7ut.earthnut@wh36-e604.wh36.uni-karlsruhe.de> <slrni5rs4g.b0o.houghi@penne.houghi> <slrni5s04p.930.earthnut@wh36-e604.wh36.uni-karlsruhe.de> <slrni5t52v.14a.houghi@penne.houghi> <slrni5tb7u.5j8.wcitoan@wcitoan-via.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrni5tem4.bhk.houghi@penne.houghi>
Subject: Re: Quotelength with slrn and vim
Date: Sun, 8 Aug 2010 16:10:12 +0200
From: houghi <houghi@houghi.org.invalid>
References: <slrni5qtcf.d1a.houghi@penne.houghi> <slrn20100807125136.330.twooffive@may.eternal-september.org> <slrni5r6b3.d1a.houghi@penne.houghi> <slrn20100807145004.58.twooffive@may.eternal-september.org> <slrni5rjbu.7ut.earthnut@wh36-e604.wh36.uni-karlsruhe.de> <slrni5rs4g.b0o.houghi@penne.houghi> <slrni5s04p.930.earthnut@wh36-e604.wh36.uni-karlsruhe.de> <slrni5t52v.14a.houghi@penne.houghi> <slrni5tb7u.5j8.wcitoan@wcitoan-via.eternal-september.org>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: No HTML on Usenet
Lines: 26
Reply-To: reply.to.server@your.provider.invalid
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 8 Aug 2010 14:12:05 +0000 (UTC)
Injection-Info: mx03.eternal-september.org;
 posting-host="efrmvIH6hccMVCBrZuyLqQ";
 logging-data="5844"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1+LadhtD7ZiQraEqxORoynX"
User-Agent: slrn/0.9.9p1 (Linux)
X-No-Archive: yes
X-Copyright1: Copyright 2010 houghi
X-Copyright2: Only partially quoting is allowed.
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
Cancel-Lock: sha1:5Tvp17IKku9GU39IpDTBmIFTTF0=
Mail-Copies-To: nobody