Mercurial > vim
comparison runtime/tools/vim_vs_net.cmd @ 7:3fc0f57ecb91 v7.0001
updated for version 7.0001
author | vimboss |
---|---|
date | Sun, 13 Jun 2004 20:20:40 +0000 |
parents | |
children | 04736b4030ec |
comparison
equal
deleted
inserted
replaced
6:c2daee826b8f | 7:3fc0f57ecb91 |
---|---|
1 @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 | |
10 @rem Coutesy of Brian Sturk | |
11 @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 | |
15 @rem :h --remote-silent for mor details | |
16 @rem | |
17 @rem --servername VS_NET | |
18 @rem This will create a new instance of vim called VS_NET. So if you | |
19 open | |
20 @rem multiple files from VS, they will use the same instance of Vim. | |
21 @rem This allows you to have multiple copies of Vim running, but you can | |
22 @rem control which one has VS files in it. | |
23 @rem | |
24 start /b gvim.exe --servername VS_NET --remote-silent "%1" "%2" |