RSS

Category Archives: CentOS

Vim syntax coloring on CentOS

CentOS by default comes without syntax coloring for Vim. You have to install vim-enhanced with this command:

 yum install vim-enhanced

Then, if you’re lazy, open your ~/.bashrc and at the bottom add:

alias vi=vim

Restart your shell!

Advertisements
 
9 Comments

Posted by on July 22, 2007 in CentOS, Linux

 
 
%d bloggers like this: