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

  1. thanks step 2 was just what I was looking for to get the highlighting working

    Comment by barry — January 17, 2008 #

  2. You are very welcome, barry.

    That’s why I wrote them here.

    Comment by admin — January 18, 2008 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Since May 6,2007 We have Visitors
dog ramps

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^