Enable VIM Syntax Highlighting

From openSUSE

Version:
10.3
Vim syntax highlighting is enabled by default. If you don't see any color, check that the vim-data package is installed.

Description

By default, syntax highlighting is disabled in VIM in openSUSE 10.2 and earlier. We want to enable it. Colors are helpful, so:

Configuration

We'll edit /etc/vmrc:

# vi /etc/vimrc

...and find the line

"syntax on

remove the comment (")

syntax on

Save and exit. We should now have color, try this again:

# vi /etc/X11/xorg.conf