vim syntax highlight F9

Aaron Konstam akonstam at sbcglobal.net
Thu Jul 31 20:31:23 UTC 2008


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 at 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 at sbcglobal.net




More information about the fedora-list mailing list