Re: using gvim as editor on Windows
- From
Markus Heidelberg <markus.heidelberg@web.de>
- Date
- Mar 6, 2010, 12:17 UTC
- Message-ID
- <201003061317.38422.markus.heidelberg@web.de>
- In-Reply-To
- <20100306073729.GN2480@ece.pdx.edu>
Tait, 2010-03-06 08:37:
Show 11 quoted lines
> > > 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