Mercurial > vim
annotate runtime/tools/vim_vs_net.cmd @ 22844:36fc73078bce v8.2.1969
patch 8.2.1969: Vim9: map() may change the list or dict item type
Commit: https://github.com/vim/vim/commit/ea696852e7abcdebaf7f17a7f23dc90df1f5e2ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 9 18:31:39 2020 +0100
patch 8.2.1969: Vim9: map() may change the list or dict item type
Problem: Vim9: map() may change the list or dict item type.
Solution: Add mapnew().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Nov 2020 18:45:04 +0100 |
parents | 584c835a2de1 |
children |
rev | line source |
---|---|
7 | 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 | |
4352 | 10 @rem Courtesy of Brian Sturk |
7 | 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 | |
4352 | 15 @rem :h --remote-silent for more details |
7 | 16 @rem |
17 @rem --servername VS_NET | |
10218
584c835a2de1
commit https://github.com/vim/vim/commit/50ba526fbf3e9e5e0e6b0b3086a4d5df581ebc7e
Christian Brabandt <cb@256bit.org>
parents:
4352
diff
changeset
|
18 @rem This will create a new instance of vim called VS_NET. So if you open |
7 | 19 @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 | |
23 start /b gvim.exe --servername VS_NET --remote-silent "%1" "%2" |