[CentOS] vi defaults in 6.x

Mon Aug 20 14:37:42 UTC 2012
William Hooper <whooperhsd at gmail.com>

On Mon, Aug 20, 2012 at 7:19 AM, Joerg Schilling
<Joerg.Schilling at fokus.fraunhofer.de> wrote:
>
> Reindl Harald <h.reindl at thelounge.net> wrote:
> > you are aware that you are posting to the CENTOS-list?
>
> Of course
>
> > the topic is about "vi default in CENTOS 6.x" so what
>
> You seem to missunderstand that there is a program called "vi" and another
> program called "vim".

Not on a standard CentOS system.

[whooper at chef ~]$ /bin/vi --version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Apr  5 2012 10:17:55)

On a machine that has the vim-enhanced package installed (care of the
files dropped in /etc/profile.d/vim.*:

$ which vi
alias vi='vim'
        /usr/bin/vim

--
William Hooper