delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/21/09:12:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3950BEE8.38BA1393@dothill.com>
Date: Wed, 21 Jun 2000 09:11:04 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
Organization: Dot Hill Systems Corporation
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Joey Yue <joeyfish AT hotmail DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: How to set editor like VIM in cygwin with and with GUI ?
References: <20000621040947 DOT 24194 DOT qmail AT hotmail DOT com>

Joey,

Joey Yue wrote:
> I am using cygwin 1.1.0 in Win2000 Professional, and just tried to look for
> editor like VI or Emacs. I found out VIM and installed VIM today. However, I
> don't know how to set VIM in cygwin edit WITH GUI(GVIM) and WITHOUT
> GUI(console).

My suggestion is to use the pre-built, non-GUI, cygwin version of vim
from:

    http://cygutils.netpedia.net/V1.1/vim-5.6/index.html

> Can anyone show me what changed do I have to make in .bashrc, cygwin.bat or
> any related file to use VIM with and without GUI?

Add export VIM=/usr/local/share/vim to your .bashrc.

> Any file or program I need to in order to make the editor work?

You should create ~/.vimrc (can be empty); otherwise, vim defaults to
vi mode and will not autosense file types.  This can lead to spurious
^Ms in your files...

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019