Re: vim syntax highlight F9



On Thu, 2008-07-31 at 16:20 -0300, Armin wrote:
On Thursday 31 July 2008 06:16:17 Marcelo M. Garcia wrote:
Hi

How to enable syntax highlighting in vim? I tried to put "syntax on" on
/etc/vimrc and on my "~/.vimrc" and does not work. I have the
following
vim packages installed:
[root@newt set_new_machine]# yum list installed vim*
Loaded plugins: refresh-packagekit
Installed Packages
vim-common.i386 2:7.1.291-1.fc9
installed
vim-enhanced.i386 2:7.1.291-1.fc9
installed
vim-minimal.i386 2:7.1.291-1.fc9
installed

Does anyone know how to solve this?

Thanks

Marcelo
I have this in my ~/.vimrc

:syn on (note the semicolon)
What semicolon? I had to say that. Do you mean colon?

and it should work, also if you want the gui version of vim, do

$ yum install gvim

--
Armin

--
=======================================================================
A real patriot is the fellow who gets a parking ticket and rejoices that
the system works.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: vim error
    ... Subject: vim error ... i tried the install from the CD and the custom using the VOL.000 ... No idea what the skunkware vim requires, since most of skunkware is old ... and obsoleted by single large newer packages. ...
    (comp.unix.sco.misc)
  • Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
    ... Man I haven't used slrn for so long now I forgot how to use it. ... Look at how nice vim makes the quoted text different colors!Dan was ... use a Linux newsreader so I am using one for right now. ... I'll suggest you do a clean install for your next install. ...
    (alt.os.linux)
  • Re: unset global editor symlink
    ... package /usr/bin/vim is not installed ... what I get the rpm querry says its not installed. ... VIM - Vi IMproved ... just install both and have you path the one you want! ...
    (RedHat)
  • Re: install vim 7.1 ???
    ... When you build and install vim from source, as you did, you get a number ... what rpm recognizes as the *OFFICIAL* pkg name? ... You can find out all the vim executables in your PATH with this command: ...
    (comp.editors)
  • Re: vim 6.2 from http://www.sunfreeware.com/programlistsparc9.html#vim
    ... Ronald Rood wrote: ... > I installed a vim from ... > I did install all depended packages: ... I can add to this problem as the same with Solaris 2.6 ...
    (comp.unix.solaris)