[CentOS] Difference between vi an vim on Centos5?

Sun Apr 15 10:53:38 UTC 2007
Johnny Hughes <mailing-lists at hughesjr.com>

On Sun, 2007-04-15 at 06:09 -0400, Michael Velez wrote:
>  
> 
> > -----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

I believe that root is the only user where this happens ...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070415/bb53ca12/attachment-0005.sig>