> On Mar 1, 7:46 pm, Bee <200...@calcentral.com> wrote:
>
> > One of the reasons I use vim; it is available AND the same on all
> > three platforms, Unix, Mac, Win. The real reason; vim is great.
>
> > Now... sometimes I must work in Windows, when I double click a
> > document it opens gvim, and that is good. But when I double click
> > another document, another instance of gvim is spawned.
>
> > On Windows, is it possible to prevent new instances of gvim and have
> > the document open in the current gvim by double clicking?
>
> http://vim.wikia.com/wiki/Windows_file_associations
>
> or
>
> http://vim.wikia.com/wiki/Launch_files_in_new_tabs_under_Windows
>
> should get you going.
From:
> http://vim.wikia.com/wiki/Windows_file_associations
This example is exactly the format I was looking for:
assoc .c=sourcecode
assoc .h=sourcecode
assoc .pl=sourcecode
assoc .py=sourcecode
ftype sourcecode="C:\Program Files\Vim\vim72\gvim.exe" --remote-silent
"%1"
Now double clicking files opens only one instance of vim and only one
tab.
Thank you.
--
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