Article View: news.software.readers
Article #80991Re: slrn & vim: can I get colours in the editor?
From: Emmanuele Bassi (Zefram)
Date: Fri, 29 Jun 2001 22:54
Date: Fri, 29 Jun 2001 22:54
43 lines
2274 bytes
2274 bytes
* Rara Avis <raravis@tutopia.com> [2001-06-29 22:39]:
> Now I have colours... But I need to know whether I can make this a
> permanent thing. Also, would you happen to know how to make vim wrap my
> lines at 72 chars. automatically?
For having the syntax on, insert something like this in your .vimrc:
#v+
if has("autocmd")
" mail & news syntax
" If in your slrnrc file you have the use_tmpdir variable set to
" 0, use this:
autocmd FileType mail source ~/.resources/mail.vim
" otherwise, use this one:
"autocmd BufReadPost /tmp/SLRN* ~/.resources/mail.vim
endif
#v-
Where ~/.resources/mail.vim contains:
#v+
" source file for email and news.
syntax on
set tw=72
" etc. etc.
#v-
HTH
Bye,
Emmanuele.
--
Emmanuele Bassi | [ http://digilander.iol.it/ebassi/ ]
emmanuele.bassi@iol.it |
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738 08BD 8ECC DB8F A432 0FF4
Technical Details
Message-ID:
<slrn9jq1m7.5p8.zefram@wolverine.lohacker.net>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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news.infostrada.it!not-for-mailReferences:
<N4ADsIBRN9O7EwWo@127.0.0.1> <4993797354m.rejo@sisterray.xs4all.nl> <200106291844@xenu.thingy.apana.org.au> <9hi7tc$s4q$6@uranus.r-ci.de> <9hj03e$dvmdc$1@ID-82030.news.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn9jq1m7.5p8.zefram@wolverine.lohacker.net>
Subject: Re: slrn & vim: can I get colours in the editor?
Date: Fri, 29 Jun 2001 22:54:30 GMT
From: zefram@ebassi.dyndns.org (Emmanuele Bassi (Zefram))
References: <N4ADsIBRN9O7EwWo@127.0.0.1> <4993797354m.rejo@sisterray.xs4all.nl> <200106291844@xenu.thingy.apana.org.au> <9hi7tc$s4q$6@uranus.r-ci.de> <9hj03e$dvmdc$1@ID-82030.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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news.infostrada.it!not-for-mail
Newsgroups: news.software.readers
Lines: 42
Reply-To: Emmanuele Bassi <emmanuele.bassi@iol.it>
X-Face: Kf`59NUWtDxxf]Ysq;0xF^(:v_l88u2c#2bD~uxn3?Q/ZK)z"&4zXC<cdI_SMg<w.eGjZKi3WF*Sz,:Jk'|Db),`bMzpHE(kf:R`+heM*cHcvhrT*gr0C7hcx0'+XBC2sF$;7M{$&tIo*Pto%DDgdNdt
User-Agent: slrn/0.9.7.0 (Linux)
NNTP-Posting-Host: 151.33.123.117
X-Complaints-To: abuse@iol.it
X-Trace: news.infostrada.it 993855270 151.33.123.117 (Sat, 30 Jun 2001 00:54:30 MET DST)
NNTP-Posting-Date: Sat, 30 Jun 2001 00:54:30 MET DST
Organization: [Infostrada]