To open a file in a gVim (graphical Vim) instance that is already running, the following command is used. To reduce the amount of typing needed, we can put the same command in a batch script file. We can also add a condition that starts a new instance of gVim or reuses an existing instance.