On 9/26/06, Thore B. Karlsen <[EMAIL PROTECTED]> wrote:
On Tue, 26 Sep 2006 13:13:46 +0300, Stavros Tsolakos
<[EMAIL PROTECTED]> wrote:
>I was thinking about writing a plugin from scratch, adding similar
>functionality with VisVim.dll to VS2005. I believe that it could be
>nothing more than intercepting a few events and launching gvim.exe.

I like this one: http://www.vim.org/scripts/script.php?script_id=864

I looked into doing that (I also used VisVim in previous versions of
VS), but what I ended up doing was adding Vim as an external tool in
the Tools menu of VS with the following arguments:

  -c "exe $(CurLine)" "$(ItemPath)"

I also assigned a keyboard shortcut to it. Now, if I select a file in
the solution explorer in VS and hit the keyboard shortcut, Vim is
opened with the right file. If I already have a file open in the VS
editor, I can hit the shortcut and it is opened in Vim on the right
line.

I've done the same, though I use a named session and open the new item
in a new tab.  The plugin referenced about helps alot too (put file,
compile, etc etc)

Reply via email to