Windows – Where’s the Open-With gVim context menu option in Windows 7

64-bitcontext menugvimtext editingwindows 7

I have gVim installed. Under Vista and XP, this offered me an addition to either the object context menu of "Edit with gVim", or an addtion to the "Open With" context menu of "gVim". This would let me send arbitrary files to gVim for editing.

Under Windows 7 64-bit, I have installed gVim — twice, as it happens — and there's no menu item.

How do I add an option to send arbitrary files to gVim for viewing/editing?

Best Answer

Found a link on the internet which describes what to do: http://davidvielmetter.com/?p=1094

If you want to have the same context menu functionality you got from gVim in 32-bit Windows you’ll need to make the following changes to the [HKEY_CLASSES_ROOT\*\shell\] key in the registry:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Edit with Vim]
[HKEY_CLASSES_ROOT\*\shell\Edit with Vim\command] 
@="C:\\Program Files (x86)\\Vim\\vim73\\gvim.exe \"%1\""

The page includes a .reg fragment which will work for gVim 7.3

Related Question