Article View: news.software.readers
Article #125085Re: [Slrn 0974] Getting gVim to work as editor?
From: Andrew Preater
Date: Sun, 18 May 2003 09:04
Date: Sun, 18 May 2003 09:04
37 lines
2718 bytes
2718 bytes
* Sphincter <sphincter@bellsouth.net>: > Blinky the Shark <no.spam@box.invalid> wrote: >> Welcome to the real (not Windows) slrn mafia. > > Really?. Do I get a gun? I really want a gun. A gun with a long > barrel and lots of bullets. ;) It's news to me that there's such a thing as a Windoze slrn Mafia! Still, welcome. > Is it possible to hand the highlighting I see in Slrn off to Vim? I > could be wrong, but I think I've seen pics of folks that already did > this. Even if I am wrong, *Surely* vim can be made to do this! Do you mean the colouring of quoted text, headers etc? Vim does syntax highlighting for all sorts of file types, even really obscure stuff (you can change the colours to your taste, of course). You need to set: syn on in your .vimrc. But I'd think it's already set in your global vimrc, no? I also have these colours set which I find more readable: hi normal ctermfg=white ctermbg=black guifg=white guibg=black hi nontext ctermfg=blue ctermbg=black guifg=blue guibg=black But you might mean "When I reply in slrn, the [g]Vim that starts doesn't have syntax colouring" -- I've seen this before, there was no good explanation (one day it was there, the next day it wasn't) but I got around it by specifying filetype in my .slrnrc: set editor_command "vim '+set filetype=mail' +%d '%s'" -- Andrew Preater
Technical Details
Message-ID:
<slrnbcej4o.gv2.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!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!mephistopheles.news.clara.net!news.clara.net!landlord!stones.force9.net.POSTED!not-for-mailReferences:
<ba5p3k$pm8lq$2@ID-190816.news.dfncis.de> <slrnbccs67.7o8.no.spam@adam.blinkynet.net> <ba62iq$p0npu$1@ID-190816.news.dfncis.de> <slrnbcdfq4.8mm.no.spam@adam.blinkynet.net> <ba6rge$pl5k4$1@ID-190816.news.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <slrnbcej4o.gv2.preater@preater.com> Subject: Re: [Slrn 0974] Getting gVim to work as editor? Date: Sun, 18 May 2003 10:04:24 +0100 From: Andrew Preater <preater@deadspam.com> References: <ba5p3k$pm8lq$2@ID-190816.news.dfncis.de> <slrnbccs67.7o8.no.spam@adam.blinkynet.net> <ba62iq$p0npu$1@ID-190816.news.dfncis.de> <slrnbcdfq4.8mm.no.spam@adam.blinkynet.net> <ba6rge$pl5k4$1@ID-190816.news.dfncis.de> 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!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!mephistopheles.news.clara.net!news.clara.net!landlord!stones.force9.net.POSTED!not-for-mail Newsgroups: news.software.readers Organization: AOLM slrn Mafia Reply-To: usenet@preater.com Mail-Copies-To: nobody X-Editor: Vim 6.1 http://www.vim.org User-Agent: slrn/0.9.7.4 (GNU/Linux) Lines: 36 NNTP-Posting-Host: 212.56.65.190 X-Complaints-To: abuse@plus.net.uk X-Trace: stones.force9.net 1053248593 212.56.65.190 (Sun, 18 May 2003 10:03:13 BST) NNTP-Posting-Date: Sun, 18 May 2003 10:03:13 BST