git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: using gvim as editor on Windows

From
TTait <git.git@t41t.com>
Date
Mar 6, 2010, 07:37 UTC
Message-ID
<20100306073729.GN2480@ece.pdx.edu>
In-Reply-To
<8c9a061003052322v446acddbm5792038af450d0b9@mail.gmail.com>
Show 8 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. It works well enough for commit, but not for rebase (or alternately, for rebase -- so long as it doesn't open an editor for git commit -- but not commit).

Tait
Previous: Jacob HelwigNext: Markus Heidelberg
Message 3 of 10 in “using gvim as editor on Windows”
  1. TaitMar 6, 2010
  2. Jacob HelwigMar 6, 2010
  3. TaitMar 6, 2010
  4. Markus HeidelbergMar 6, 2010
  5. TaitMar 8, 2010
  6. Markus HeidelbergMar 8, 2010
  7. TaitMar 9, 2010
  8. Junio C HamanoMar 9, 2010
  9. TaitMar 11, 2010
  10. Johannes SixtMar 11, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.