November 22, 2007

Vim on Vista

Ok, so I wasted a good part of thanksgiving day trying to get vim workign again on vista. I am not sure what happened, but it went nuts. It may have been the recent windows updates or the face that I in stalled .NET 3.5, but it was unusable. None of the plugins/syntax highlighting/menus that I have grown to love. So here is what I did:

Vim on Vista

Installed gvim71-2.exe to C:\vim (from here)

Copy the folling files into C:\vim\vim71\

Here is the thing that stuck me for hours, if you had previously installed vim

to the recommended location of C:\Program Files you won’t be able to associate

files with the new location until you edit the registry. Go to:

HKEY_CLASSES_ROOT\Applications\gvim.exe

Make sure the edit\command and open\command Keys have the following default value:

C:\vim\vim71\gvim.exe "%1"

If you want the “Edit with vim” in windows explorer:

If you don’t want to run around and get those files, you can download them here.

Also, I added my suite of vim files here.

blog comments powered by Disqus