Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Old thread, but the latest vim (7.3) takes care of this. – Jeff Walker Jan 22 '13 at 3:20
up vote 9 down vote accepted

Found a link on the internet which describes what to do:

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

share|improve this answer

Version 7.3 fixes this problem. Use the "self-installing executable".

share|improve this answer

It should work out of the box on Windows 7 32-bit. I have gotten it to work on my Windows 7 RC machine.

If you want this to work on Windows 64-bit (any edition), then follow the Fix Missing GVim Context Menu instructions from the gvim website.

share|improve this answer
Ah, you are right -- I am Windows 7-64. Didn't realize that would make a difference, but of course it would. – David Mackintosh Sep 8 '09 at 18:20

you could install the "right" binaries as well: its 'install.bat' should create the right registry entries for you (plus the fact that you have a 64bit binary :))

share|improve this answer
Even better. Didn't know there was a 64-bit build. – David Mackintosh Sep 22 '09 at 21:44

Here are my complete directions for building GVim 7.2 for x64 and for creating the setup file.

GVim gets installed to "Program Files" as it should, printing works fine, and the integrated menus all work like a charm.

Directions & link to setup file:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .