VIM Syntax Highlighting özelliğinin etkinleştirilmesi

Şuraya atla: kullan, ara

Description

By default, syntax highlighting is disabled in VIM. We want to enable it. For example:

# vi /etc/X11/xorg.conf

...and we see only gray. 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