Article View: news.software.readers
Article #80965slrn & vim: can I get colours in the editor?
From: Rara Avis
Date: Fri, 29 Jun 2001 01:01
Date: Fri, 29 Jun 2001 01:01
38 lines
2313 bytes
2313 bytes
Actually, two questions: Can I set vim to colourise my postings, so as to have the headers, quotes and signature highlighted like in slrn proper? How do I make vim wrap at 72 characters? As far as the first question is concerned, I followed David Gerard's instructions in his very nifty page (thingy.apana.org.au/~fun/), but am not getting any colours. I quote his instructions below: >Edit the filetype.vim file (in the $VIMRUNTIME subfolder), inserting the >following to tell vim that your Windows slrn files are suitable for proper >syntax highlighting: >� article.txt after .article (search on article); >� followup.txt after .followup; >� slrn.rc after .slrnrc; >� score.txt (or whatever you call your scorefile) after .score; >� a double-quote ( " ) at the beginning of the line containing .rc, to > comment it out (unless you really need that, in which case shift it to the > end, after slrn.rc). I am afraid this is not as clear as I would like it... I do not know whether I am supposed to separate the inserted stuff immediately after the listed items, or if I am supposed to separate them with commas... etc. Besides, are the listed items supposed to appear only once in the entire filetype.vim document? I inserted by separating them with commas, to no effect whatsoever. Thanks in advance... -- Rara Avis raravis@myrealbox.com
Technical Details
Message-ID:
<N4ADsIBRN9O7EwWo@127.0.0.1>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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!200.24.75.242!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <N4ADsIBRN9O7EwWo@127.0.0.1> Subject: slrn & vim: can I get colours in the editor? Date: Thu, 28 Jun 2001 20:01:05 -0500 From: Rara Avis <raravis@tutopia.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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!200.24.75.242!not-for-mail Newsgroups: news.software.readers Lines: 37 NNTP-Posting-Host: 200.24.75.242 Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1;format=flowed Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 993776358 14716957 200.24.75.242 (16 [82030]) X-Orig-Path: 127.0.0.1!raravis User-Agent: Turnpike/6.00-Beta-5-U (<UFles0V5r2bV2zaoHGBsiZFDl4>)