RE: Difference between vi an vim on Centos5?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 

> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Sebastian Marten
> Sent: Sunday, April 15, 2007 5:30 AM
> To: CentOS mailing list
> Subject:  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



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux