Thursday, July 28, 2011

Re: Using gvim and Visual Studio side by side

On Jul 27, 11:16 pm, Väinö Leppänen <narcomaco...@gmail.com> wrote:
> Hi,
>
> I've lately been "forced" to work a lot on Windows and with Visual Studio
> 2008 (VS08) and in fact
> I think that VS08 is a pretty good IDE, but in the words of Bram Moolenaar:
> "but it's not Vim".
> I've been separately opening files to gVim while at the same time having
> them open in VS08;
> I perform the stuff that's easy to do in Vim in Gvim and the IDE tasks in
> VS08.
>
> The question becomes: is there an easy way to open a file in gVim that's
> already open in VS08?
> By easy I do not mean: go to explorer, find the file ...
> One click option or something like that, is what I'm looking for.
>
> Much thanks for all the responses ..
>

You'll need to use the client-server interface to Vim.

:he client-server

It's easy to set up a shortcut in your Windows "Send To" context menu,
so that you can then send items to a specific Vim instance, using the
client-server commandline arguments inside the shortcut. Then sending
files to the Vim inside Visual Studio is just a right-click away.

http://vim.wikia.com/wiki/Add_Vim_to_Windows_Send_To_menu

The "launch files in tabs" link on that page accomplishes its task
using the client-server interface if you need an example.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment