Craig,

Thanks for responding. I looked and don't have a .vimrc file, but when I
found an example file in VIM's home dir I copied it over to my home dir
and then entered the line you mentioned. I got an error stating that VI
didn't support that syntax. Then, I opened a .pl file with VIM and the
syntax highlighting was working. What the heck is going on here? Is this
program scitso or something?

It seems to me that I didn't have this problem with VI before. In fact,
any time I ever used this editor since moving from RedHat to Mandrake 7.1
I've never had to do anything to get VI to use syntax highlighting.

-- 

Mark
*****

"what knowledge I have managed to accumlate over the years
at times becomes obscured and even hidden amidst the vast
emotional onslaught of my children. You never finish being a parent.  :)"
On Sat, 21 Apr 2001, Craig Sprout wrote:

> At 06:32 AM 4/21/01 -0400, you wrote:
> >Hello list,
> >
> >This is embarrassing, but there's something I've forgotten how to do and
> >in fact, I've forgotten where I'd written it down to, but I would like to
> >enable syntax highlighting in VI terminal editor. Could some kind soul
> >remind me how this is done?
>
>
> Fortunately, I can laugh, since I never forget /anything/!  :)
>
> :syntax on  (in vim), and stick that line in your .vimrc, and life will be
> good.
>
> This should do the trick for you!
>
>
>


Reply via email to