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 recently formatted my hard drive, and right now there's not much on here except a clean Windows 7 install and the most recent version of Vim for Windows. I told Vim to install its own context menu, so I can right click files and tell Windows to edit them with Vim.

Not only is this feature absent much (not all) of the time, so too is the "open with" option a lot of the time.

How can I get both of these options to show up consistently in the context menu?

share|improve this question
Have you tried first left-clicking inside the directory in Explorer? Sometimes I don't have the option, but it will show up if I click on a file (any file) inside the directory first. – Ryan Feb 15 '13 at 1:52
If I remember correctly, you can get the 'open with...' option if you hold SHIFT while right-clicking. But there's an answer below giving some registry keys to tweak, perhaps that'll be better. – lornix Jul 22 '13 at 13:54

I believe this is what you'll need

@="Open with Vim"
@="LOCATION_OF_YOUR_vim.exe_HERE '%1'"
share|improve this answer
I've used this successfully, just had to change the '%1'to "%1". You should create a Key with Default Value vim in HKEY_CLASSES_ROOT\*\shell and a key command inside HKEY_CLASSES_ROOT\*\shell\vim with Default Value LOCATION_OF_YOUR_vim.exe_HERE "%1". – Andre Albuquerque Jan 29 '15 at 16:05

You must log in to answer this question.

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