blob: 335236c920dfad5fa13384a7eead45c7cdd65f8a [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001@rem
2@rem To use this with Visual Studio .Net
3@rem Tools->External Tools...
4@rem Add
5@rem Title - Vim
6@rem Command - d:\files\util\vim_vs_net.cmd
7@rem Arguments - +$(CurLine) $(ItemPath)
8@rem Init Dir - Empty
9@rem
Bram Moolenaar84a05ac2013-05-06 04:24:17 +020010@rem Courtesy of Brian Sturk
Bram Moolenaar071d4272004-06-13 20:20:40 +000011@rem
12@rem --remote-silent +%1 is a command +954, move ahead 954 lines
13@rem --remote-silent %2 full path to file
14@rem In Vim
Bram Moolenaar84a05ac2013-05-06 04:24:17 +020015@rem :h --remote-silent for more details
Bram Moolenaar071d4272004-06-13 20:20:40 +000016@rem
17@rem --servername VS_NET
Bram Moolenaar50ba5262016-09-22 22:33:02 +020018@rem This will create a new instance of vim called VS_NET. So if you open
Bram Moolenaar071d4272004-06-13 20:20:40 +000019@rem multiple files from VS, they will use the same instance of Vim.
20@rem This allows you to have multiple copies of Vim running, but you can
21@rem control which one has VS files in it.
22@rem
23start /b gvim.exe --servername VS_NET --remote-silent "%1" "%2"