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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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/