Article View: news.software.readers
Article #128514Re: SLRN: choice of editor and word wrapper
From: Andrew Preater
Date: Sun, 13 Jul 2003 17:57
Date: Sun, 13 Jul 2003 17:57
30 lines
2040 bytes
2040 bytes
* SINNER <99nesorjd@gates_of_hell.INVALID>:
> Lawrence Haber Wrote:
>> I am currently using JED and an not sure about what/how to wrap
>> text
Well, I used to use jed as my editor in slrn, there defintely was a
way to re-wrap quoted text to the usual 72 characters... sorry to say
I've forgotten all about it since I learned the basics of vim. Vim is
a good habit, you really should try it! :)
> set editor_command "vim -f '+set tw=72' +%d '%s'"
I skip the '+set tw=72', because I use:
au FileType mail set tw=70
Which is just what I want for mail & news.
> you can SHIFT-V which will put you in visual mode and select full
> lines and then SHIFT-Q to re wrap poorly wrapped text.
I go for good old gqap or gqip. I recall some discussion in n.s.r
about reformatting everything in a message body (i.e. not signature or
headers) in vim. This was what was suggested for your vimrc:
map <f5> gg/^$<CR>V/^-- $<CR>{gq`^
--
Andrew Preater
Technical Details
Message-ID:
<slrnbh37c1.2ts.preater@preater.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newspump.monmouth.com!newspeer.monmouth.com!fu-berlin.de!uni-berlin.de!82-69-29-2.dsl.in-addr.zen.co.UK!not-for-mailReferences:
<slrnbh2gru.1f2.lhaber@lawrence-habers-computer.local> <1368u-cq5.ln1@news.gates_of_hell.INVALID>Show Full Headers
Complete Article Headers
Message-ID: <slrnbh37c1.2ts.preater@preater.com> Subject: Re: SLRN: choice of editor and word wrapper Date: Sun, 13 Jul 2003 18:57:21 +0100 From: Andrew Preater <preater@deadspam.com> References: <slrnbh2gru.1f2.lhaber@lawrence-habers-computer.local> <1368u-cq5.ln1@news.gates_of_hell.INVALID> 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!cyclone.bc.net!newspump.monmouth.com!newspeer.monmouth.com!fu-berlin.de!uni-berlin.de!82-69-29-2.dsl.in-addr.zen.co.UK!not-for-mail Newsgroups: news.software.readers Organization: AOLM slrn Mafia Lines: 29 Reply-To: usenet@preater.com NNTP-Posting-Host: 82-69-29-2.dsl.in-addr.zen.co.uk (82.69.29.2) X-Trace: news.uni-berlin.de 1058119045 8745996 82.69.29.2 (16 [139491]) Mail-Copies-To: nobody X-Editor: Vim 6.2 http://www.vim.org User-Agent: slrn/0.9.7.4 (GNU/Linux)