Let gVim always run a single instance

后端 未结 12 690
时光说笑
时光说笑 2020-12-12 19:14

Is there a way to let gVim only run a single instance, so that when a new file is opened with it it\'s automatically opened in a new tab in the currently running instance?

12条回答
  •  情话喂你
    2020-12-12 19:35

    I'm using TotalCommander for file browsing. It lets you press "F4" to edit the file. So in the "Editor for F4" option window, you just need to do the following:

    C:\Program Files (x86)\Vim\vim73\gvim.exe --remote-tab-silent
    

    Works on my win7 64bit machine.

提交回复
热议问题