Saturday, 25 May 2019

64 bit - Where's my Open-With gVim context menu option in Windows 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?



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


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...