How do I open a file with existing instance of gvim? What happened to

the Vim 5.x OpenWithVim.exe and SendToVim.exe files? Starting with Vim6, the OLE version of OpenWithVim.exe and SendToVim.exe Vim utilities are replaced by the new client-server feature. To open the file j.txt with an existing instance of Gvim (MyVim), use:

    $ gvim --servername MyVim --remote-silent j.txt

To list the server names of all the currently running Vim instances, use

    $ vim --serverlist

To get more information about client-server feature, read client-server

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind