Mercurial > vim
comparison runtime/doc/if_ole.txt @ 36:125e80798a85 v7.0021
updated for version 7.0021
author | vimboss |
---|---|
date | Thu, 09 Dec 2004 21:34:53 +0000 |
parents | 3fc0f57ecb91 |
children | 4707450c2b33 |
comparison
equal
deleted
inserted
replaced
35:8f3a526c2fe1 | 36:125e80798a85 |
---|---|
1 *if_ole.txt* For Vim version 7.0aa. Last change: 2003 Jun 19 | 1 *if_ole.txt* For Vim version 7.0aa. Last change: 2004 Dec 09 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Paul Moore | 4 VIM REFERENCE MANUAL by Paul Moore |
5 | 5 |
6 | 6 |
156 The OLE version can be used to run Vim as the editor in Microsoft Visual | 156 The OLE version can be used to run Vim as the editor in Microsoft Visual |
157 Studio. This is called "VisVim". It is included in the archive that contains | 157 Studio. This is called "VisVim". It is included in the archive that contains |
158 the OLE version. The documentation can be found in the runtime directory, the | 158 the OLE version. The documentation can be found in the runtime directory, the |
159 README_VisVim.txt file. | 159 README_VisVim.txt file. |
160 | 160 |
161 | |
162 Using Vim with Visual Studio .Net~ | |
163 | |
164 With .Net you no longer really need VisVim, since .Net studio has support for | |
165 external editors. Follow these directions: | |
166 | |
167 In .Net Studio choose from the menu Tools->External Tools... | |
168 Add | |
169 Title - Vim | |
170 Command - c:\vim\vim63\gvim.exe | |
171 Arguments - --servername VS_NET --remote-silent "+call cursor($(CurLine), $(CurCol))" $(ItemPath) | |
172 Init Dir - Empty | |
173 | |
174 Now, when you open a file in .Net, you can choose from the .Net menu: | |
175 Tools->Vim | |
176 | |
177 That will open the file in Vim. | |
178 You can then add this external command as an icon and place it anywhere you | |
179 like. You might also be able to set this as your default editor. | |
180 | |
181 If you refine this further, please post back to the Vim maillist so we have a | |
182 record of it. | |
183 | |
184 --servername VS_NET | |
185 This will create a new instance of vim called VS_NET. So if you open multiple | |
186 files from VS, they will use the same instance of Vim. This allows you to | |
187 have multiple copies of Vim running, but you can control which one has VS | |
188 files in it. | |
189 | |
190 --remote-silent "+call cursor(10, 27)" | |
191 - Places the cursor on line 10 column 27 | |
192 In Vim > | |
193 :h --remote-silent for mor details | |
194 | |
195 [.Net remarks provided by Dave Fishburn and Brian Sturk] | |
196 | |
161 ============================================================================== | 197 ============================================================================== |
162 vim:tw=78:ts=8:ft=help:norl: | 198 vim:tw=78:ts=8:ft=help:norl: |