public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Markus Heidelberg <markus.heidelberg@web•de>
To: Tait <git.git@t41t•com>
Cc: Jacob Helwig <jacob.helwig@gmail•com>, git@vger•kernel.org
Subject: Re: using gvim as editor on Windows
Date: Sat, 6 Mar 2010 13:17:38 +0100	[thread overview]
Message-ID: <201003061317.38422.markus.heidelberg@web.de> (raw)
In-Reply-To: <20100306073729.GN2480@ece.pdx.edu>

Tait, 2010-03-06 08:37:
> > > I'd prefer to use gvim as an editor on Windows XP instead of vim...
> > >     start "dummy" /b /wait "C:\Program Files\Vim\vim72\gvim.exe" %*
> >
> > Use the -f (stay in the foreground) flag.  I haven't tried this in
> > Windows, but that's how I've used it in Linux.
> >
> > [core]
> >     editor = gvim -f
> 
> On Windows, gvim -f is basically a shortcut for the start invocation I
> pasted above.

Not necessarily. You can avoid using the .bat wrappers from C:\Windows,
which cause the problem, but use gvim.exe directly by setting your PATH
appropriately. It will also work for git-difftool.

Markus

  reply	other threads:[~2010-03-06 12:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-06  7:06 using gvim as editor on Windows Tait
2010-03-06  7:22 ` Jacob Helwig
2010-03-06  7:37   ` Tait
2010-03-06 12:17     ` Markus Heidelberg [this message]
2010-03-08 18:54       ` Tait
2010-03-08 23:32         ` Markus Heidelberg
2010-03-09  2:45           ` Tait
2010-03-09 20:07             ` Junio C Hamano
2010-03-11  9:04               ` Tait
2010-03-11  9:36                 ` Johannes Sixt

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=201003061317.38422.markus.heidelberg@web.de \
    --to=markus.heidelberg@web$(echo .)de \
    --cc=git.git@t41t$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=jacob.helwig@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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