delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/18/11:50:34

X-Spam-Check-By: sourceware.org
User-Agent: Mutt/1.5.5.1i Hamster-Fr/2.0.1.10
Date: Sat, 18 Mar 2006 17:30:21 +0100
From: Luc Hermitte <hermitte AT free DOT fr>
To: cygwin AT cygwin DOT com
Subject: Re: Starting gvim from Windows
Message-ID: <20060318163021.GB1504@jade>
References: <20060309072049 DOT fb30e530d17747c2b054d625b8945d88 DOT 361d43a710 DOT wbe AT email DOT email DOT secureserver DOT net> <20060309143819 DOT GB6731 AT ettin DOT watson-wilson DOT ca>
Mime-Version: 1.0
In-Reply-To: <20060309143819.GB6731@ettin.watson-wilson.ca>
X-Operating-System: CYGWIN_NT-5.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

* On Thu, Mar 09, 2006 at 09:38:19AM -0500, Neil Watson <cygwin AT watson-wilson DOT ca> wrote:
> >I don't use X.  I just use RXVT windows on top of the Windows
> >Desktop.  I don't use Cygwin's version of Gvim.  I use the Windows
> >version.  To use Gvim from Cygwin, I have a small script (attached)
> >that converts Cygwin paths to Windows paths and then launches Gvim.

(In case you wish to not convert arguments that are not paths, check at
cyg-wrapper.sh that I'm maintaining, see my signature)

> >With this setup, I can use a single version of Gvim from both Windows
> >and Cygwin.
> 
> I've tried this in the past.  The problem I found was that Windows VIM
> required a different vimrc syntax then the Unix VIM.  I was hoping to
> avoid keeping two copies of my growing and changing vimrc file.

I have only one .vimrc that is use for windows, Linux and Solaris.
Actually, 
- under windows I have a _vimrc files that sources vimrc_core.vim plus
  a _vimrc_win for windows specific settings (fonts, mappings to open
  URL in the default browser, ...)
- under *nix, I have a .vimrc that also sources vimrc_core.vim plus a
  _vimrc_nix for *nix specific settings (key rebindings (that will be
  updated soon thanks to feddback from vim-ml), ...)

I've never used cygwin-version of vim, but it should not be any
different.

-- 
Luc Hermitte
http://hermitte.free.fr/cygwin/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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