vim syntax highlight F9

gerrynix gerrynix at
Thu Jul 31 12:49:46 UTC 2008


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?


I assume you mean highlight search.... lhs. To control this:

hls and nohls

More information about the fedora-list mailing list