"   " <[EMAIL PROTECTED]> wrote:

>I've just installed Redhat Linux 5.2 and during the installation I selected
>vim-color
>vim-common
>vim-enhanced
>vim-minimal
>
>and I still can't get vim/vi to display colour in a .c file.

I have RH 5.2 and both
  vim-common-5.3-3
  vim-enhanced-5.3-3

I don't have vim-color or vim-minimal installed. If you want to check
which packages you have run  "rpm -qa |grep vim"

I get color syntax highlighting just fine starting vim with either
"vi" or "vim"  These are both in /usr/bin and in fact /usr/bin/vi is
just a link to /usr/bin/vim

I also have a ~/.vimrc file in my home directory.  You can use the
example file which should be /usr/doc/vim-common-5.3/vimrc_example

Just copy that file to your home directory as .vimrc and color should
be fine.

Reply via email to