Open a file in an existing gvim instance

October 24, 2003 – 11:05 | vim

(David Fishburn)

@set vim_instance=GVIM
@rem Override it if necessary
if %2. NEQ . set vim_instance=%2
start gvim.exe --servername %vim_instance% --remote-silent %1

Trackback from your site, or follow the comments in RSS.

Post a Comment