Upgrade Vim in CentOS 4
May 13, 2007 on 2:03 pm | In Linux Admin |In order to highlight the syntax in vi editor in CentOS 4, I tried : syntax on etc and all of them did not work.
Here is one simple method I have done and it works fine.
Step 1
# yum install vim-enhanced
or
# yum upgrade vim
Step 2
add alias vi="vim" in .bashrc ( I use bash)
it’s just simple amazing!
2 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^
thanks step 2 was just what I was looking for to get the highlighting working
Comment by barry — January 17, 2008 #
You are very welcome, barry.
That’s why I wrote them here.
Comment by admin — January 18, 2008 #