public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Gary Johnson <garyjohn@spocom.com>
To: cygwin@cygwin.com
Subject: Re: vi and vim
Date: Thu, 12 Aug 2010 18:17:00 -0000	[thread overview]
Message-ID: <20100812181709.GB2384@KCJs-Computer> (raw)
In-Reply-To: <4C62D07E.7090603@cygwin.com>

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

  reply	other threads:[~2010-08-12 18:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11 16:22 Dave Robison
2010-08-11 16:32 ` Larry Hall (Cygwin)
2010-08-12 18:17   ` Gary Johnson [this message]
2010-08-12  6:35 ` Gary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100812181709.GB2384@KCJs-Computer \
    --to=garyjohn@spocom.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).