Hi,

This is my first post to this list, please forgive me if I break any
convention :-)

I'm using gVim on Windows daily, in combination with the Windows
explorer, and the files context menu. However I never use the "Edit
with existing Vim" entries, but I often have many Vim instances
running, and this is cluttering my context menus. So I wanted to get
rid of those entries. I modified the source code for the gvimext.dll
explorer extension, so that I can disable the "Edit with existing Vim"
entries. Unexpectedly, it was very easy to compile a replacement
gvimext.dll.

You can find the patch attached to this email. The default behavior
stays unchanged, but by creating an entry in the registry in
HKLM\Software\Vim\Gvim, named DisableEditWithExisting, and with any
value, the DLL will no longer show these context menu entries. I was
rougly inspired by the LegacyDisable entry for file association verbs
[1].

It would be nice to include that patch in future Vim releases. Please
feel free to comment on the patch, or ask for modifications.

Regards,

Jérôme.

[1] http://msdn.microsoft.com/en-us/library/bb776883.aspx#legacydisable

-- 
You received this message from the "vim_dev" 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

Attachment: DisableEditWithExisting.patch
Description: Binary data

Raspunde prin e-mail lui