Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


tag: 1

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 doc
Octocat-spinner-32 README
Octocat-spinner-32 gvimt.awk
Octocat-spinner-32 gvimt.bat
Octocat-spinner-32 gvimt.reg
This is a mirror of

Written by Geoff Wood (geoffrey.wood at_symbol
gw 13/9/12 - created



It needs gvim.exe, grep and awk in the path (tested with gnu versions). 

It uses the tasklist command (which exists from Windows XP, but not in Windows 2000) when checking if gvim is already running.  On Windows 2000 you\\&#039ll need to have an instance of gvim running already.


Why use this instead of simpler methods?


Why use awk, tasklist and grep?
Calling vim directly from a batch file has problems with backslashes in the target file path vanishing.  The simplest approach is just to use something else to call gvim that doesn\\&#039t mangle the path, I use awk for this sort of thing.

grepping the tasklist is an easy way to see if gvim is already running.

Something went wrong with that request. Please try again.