annotate runtime/tools/vim_vs_net.cmd @ 5873:8e9db1f27a00 v7.4.279

updated for version 7.4.279 Problem: globpath() returns a string, making it difficult to get a list of matches. (Greg Novack) Solution: Add an optional argument like with glob(). (Adnan Zafar)
author Bram Moolenaar <bram@vim.org>
date Wed, 07 May 2014 18:35:30 +0200
parents 04736b4030ec
children 584c835a2de1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 @rem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 @rem To use this with Visual Studio .Net
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 @rem Tools->External Tools...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 @rem Add
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 @rem Title - Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 @rem Command - d:\files\util\vim_vs_net.cmd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 @rem Arguments - +$(CurLine) $(ItemPath)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 @rem Init Dir - Empty
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 @rem
4352
04736b4030ec updated for version 7.3.925
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
10 @rem Courtesy of Brian Sturk
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 @rem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 @rem --remote-silent +%1 is a command +954, move ahead 954 lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 @rem --remote-silent %2 full path to file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 @rem In Vim
4352
04736b4030ec updated for version 7.3.925
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
15 @rem :h --remote-silent for more details
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 @rem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 @rem --servername VS_NET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 @rem This will create a new instance of vim called VS_NET. So if you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 open
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 @rem multiple files from VS, they will use the same instance of Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 @rem This allows you to have multiple copies of Vim running, but you can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 @rem control which one has VS files in it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 @rem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 start /b gvim.exe --servername VS_NET --remote-silent "%1" "%2"