> -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of Sebastian Marten > Sent: Sunday, April 15, 2007 5:30 AM > To: CentOS mailing list > Subject: [CentOS] Difference between vi an vim on Centos5? > > Hello, > i have a little problem on OS5. > On CentOS4 vi an vim are the same programs. > On 5 vi have no syntax highlighting while vim have it. > > Whats wrong? > > Greetings, > Sebastian In CentOS 4, by default vi is aliased to vim. The unaliased vi does not have syntax highlighting. Could it be that vi is not aliased to vim by default in CentOS 5? Run the 'alias' command to see a list of aliases. If you want to alias vi to vim, just run: alias vi=vim Michael