This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: vi and vim
On 2010-08-11, Larry Hall (Cygwin) wrote:
> On 8/11/2010 12:22 PM, Dave Robison wrote:
> >Hello,
> >
> >At the risk of bringing down a cascade of derision, is there any way to
> >use vi instead of vim in cygwin?
> >
> >I really prefer vi, but I can't seem to find a binary for it which isn't
> >linked to one iteration or another of vim.
> >
> >If not, c'est la vie.
>
> Cygwin provides the vim package, which creates a link to 'vim-nox.exe'
> called 'vi'. Unless you set 'nocompatible' in your ~/.vimrc, you will get
> a vi-compatible version of vim.
Actually, just the presence of ~/.vimrc will set 'nocompatible'.
See
:help compatible-default
If you want a vi-compatible vim, name your rc file .exrc and not
.vimrc.
Regards,
Gary
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple