delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/11/20:27:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
User-Agent: Mutt/1.5.5.1i Hamster-Fr/2.0.1.10
Date: Wed, 12 May 2004 02:31:51 +0200
From: Luc Hermitte <hermitte AT free DOT fr>
To: cygwin AT cygwin DOT com
Cc: Vim ML <vim AT vim DOT org>, Peng Yu <yupeng AT physics DOT ucsd DOT edu>
Subject: Re: How to start windows version gvim for cygwin correctly?
Message-ID: <20040512003151.GB204@jade>
Reply-To: Vim ML <vim AT vim DOT org>, Peng Yu <yupeng AT physics DOT ucsd DOT edu>
References: <024501c437af$fc990df0$c3dc3680 AT yupeng>
Mime-Version: 1.0
In-Reply-To: <024501c437af$fc990df0$c3dc3680@yupeng>
X-Operating-System: CYGWIN_NT-5.1
X-IsSubscribed: yes

Hello,

[I've set a reply-to to vim's mailing list and your email address; you
may need to be registered to post on this mailing-list]

Just a little note first, I use the win32 version of vim since the
version 5.8 (the beta version 6.3a is very recent) and cygwin. So far, I
have no problems.

My $HOME directory for windows (XP) and for Cygwin is set to
f:\users\Luc (or the cygwin's equivalent). I do not wanted it to be
function of how I launch gVim.

* On Tue, May 11, 2004 at 04:30:46PM -0700, Peng Yu <yupeng AT physics DOT ucsd DOT edu> wrote:
> /cygdrive/d/Program\ Files/vim/vim61/gvim.exe
> 
> When enter the above command in cygwin, gvim window popup. But it
> seems that gvim doesn't load "D:\Program Files\vim\_vimrc".

Do you have a _vimrc in your $HOME ?  This file is searched according to
what is said there:
    :h .vimrc
This should help you find your _vimrc.
otherwise, you can add
    call confirm('.vimrc in '.expand('%:p:h'), '&Ok', 1)
in every _vimrc, .vimrc, _exrc you can find on your system to be sure
which one you are using.

> In addition, it creates a file _viminfo in my home directory versus
> using the default _viminfo in "D:\Program Files\vim\"

This is a safe setting IMHO.

> Do you have any idea about make gvim use the default _viminfo file
> without writing a new file in my cygwin home directory?

Once you have found where your _vimrc is stored, set the option viminfo
accordingly to your wishes.
    :h 'viminfo'

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

--
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