Tuesday, September 29, 2009

GVim on Windows 7 x64

EDIT (2009-10-27): A way better solution is to use the x64 package of gVim from http://code.google.com/p/vim-win3264/. I say it's way better because it adds Diff with vim, something I use really often. There is surely a way to add this one to the context menu using regedit, but I didn't search for it.

After installing GVim on Windows 7 x64, we don't get the useful "edit with vim" in the context menu.

Hack with registry:
  1. Windows Registry Editor Version 5.00
  2. [HKEY_CLASSES_ROOT\*\shell\Edit with Vim]
  3. [HKEY_CLASSES_ROOT\*\shell\Edit with Vim\command]
  4. @="C:\\Program Files (x86)\\Vim\\vim72\\gvim.exe \"%1\""

No comments:

Post a Comment