How can I use gvim for svn commit messages under Windows?
问题 Under *nix I can set SVN_EDITOR to gvim --nofork to do the trick, but that doesn't seem to work under Windows. Is there any solution for that? 回答1: If you have installed the batch files (c:\windows\gvim.bat), just set EDITOR to gvim -f , the batch file processes the -f argument and sets the no-fork option. The trick in the batch file is running START /WAIT path\to\gvim.exe %* (see the /WAIT argument). If you don't have the batch files, just create a new one with the command above, and set