|
|
| Line 1: |
Line 1: |
| − |
<!-- [[Category:Windows]] --> |
+ |
{{TipProposed |
| − |
Ok, so I wasted a good part of thanksgiving day trying to get vim working 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 installed .NET 3.5, but it was unusable. None of the plugins/syntax highlighting/menus that I have grown to love. I need vim with Ruby/Python/Ctags/and a ton-o-plugins. So here is what I did: |
+ |
|id=0 |
| − |
|
+ |
|previous=0 |
| − |
= Vim on Vista = |
+ |
|next=0 |
| − |
|
+ |
|created=December 21, 2007 |
| − |
== Download and Install == |
+ |
|complexity=basic |
| |
+ |
|author=Fuzzymonk |
| |
+ |
|version=7.0 |
| |
+ |
}} |
| |
+ |
Ok, so I wasted a good part of thanksgiving day trying to get Vim working 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 installed .NET 3.5, but it was unusable. None of the plugins/syntax highlighting/menus that I have grown to love. I need Vim with Ruby/Python/Ctags/and a ton-o-plugins. So here is what I did: |
| |
|
|
|
| |
+ |
==Download and Install== |
| |
Download and Install gvim71-2.exe (I used the one from [http://hasno.info/2007/5/18/windows-vim-7-1-2 hasno.info]) |
|
Download and Install gvim71-2.exe (I used the one from [http://hasno.info/2007/5/18/windows-vim-7-1-2 hasno.info]) |
| |
* changed the install dir to C:\vim to get around some odd things with UAC. |
|
* changed the install dir to C:\vim to get around some odd things with UAC. |
| Line 15: |
Line 16: |
| |
* iconv.dll (from [http://sourceforge.net/projects/gettext here] You can find the dll file in the bin directory of the "libiconv-win32" archive.) |
|
* iconv.dll (from [http://sourceforge.net/projects/gettext here] You can find the dll file in the bin directory of the "libiconv-win32" archive.) |
| |
* libintl.dll (from [http://sourceforge.net/projects/gettext here] Get "intl.dll" from the bin directory in the gettext-win32 archive and store it as "libintl.dll" in the same directory as gvim.exe, overwriting the file that may already be there.) |
|
* libintl.dll (from [http://sourceforge.net/projects/gettext here] Get "intl.dll" from the bin directory in the gettext-win32 archive and store it as "libintl.dll" in the same directory as gvim.exe, overwriting the file that may already be there.) |
| − |
* gvimext.dll (from [http://www.vim.org/scripts/script.php?script_id=1720 here]) |
+ |
* gvimext.dll (from {{script|id=1720}}) |
| |
|
|
|
| − |
== Configure around Vista == |
+ |
==Configure around Vista== |
| − |
Here is the thing that stuck me for hours, if you had previously installed vim |
+ |
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: |
| − |
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 |
+ |
<pre> |
| |
+ |
HKEY_CLASSES_ROOT\Applications\gvim.exe |
| |
+ |
</pre> |
| |
|
|
|
| |
Make sure the edit\command and open\command Keys have the following default value: |
|
Make sure the edit\command and open\command Keys have the following default value: |
| − |
C:\vim\vim71\gvim.exe "%1" |
+ |
|
| |
+ |
<pre> |
| |
+ |
C:\vim\vim71\gvim.exe "%1" |
| |
+ |
</pre> |
| |
|
|
|
| |
If you want the "Edit with vim" Shell Extension in Windows Explorer: |
|
If you want the "Edit with vim" Shell Extension in Windows Explorer: |
| − |
|
|
| |
* Run C:\vim\vim71\install.exe |
|
* Run C:\vim\vim71\install.exe |
| |
* Choose no when asked if you want to uninstall, then enter "d 14" |
|
* Choose no when asked if you want to uninstall, then enter "d 14" |
| |
|
|
|
| − |
== Trouble Shooting == |
+ |
==Troubleshooting== |
| − |
=== Shell Extension === |
+ |
===Shell Extension=== |
| |
If you get a gvim not in your path error with the "Edit with vim" shell ext, make sure you '''do not''' have gvim.exe set to run as Administrator, as that will break it. |
|
If you get a gvim not in your path error with the "Edit with vim" shell ext, make sure you '''do not''' have gvim.exe set to run as Administrator, as that will break it. |
| |
|
|
|
| |
+ |
==Comments== |
| |
|
|
|
| − |
|
+ |
---- |
| − |
== Comments == |
+ |
[[Category:Windows]] |
| − |
<!-- comments on the content of the tip go here, comments on the article itself can go to the discussion page --> |
|
| − |
<!-- sign your comments with ~~~~ and separate them with ---- --> |
|
Recently created tip
We have not yet decided whether to keep this tip as its own page or merge it somewhere else. If you have a suggestion on the tip content, please edit this page or add your comments below (do not use the discussion page).
Please discuss whether to keep this as a new tip, or whether to merge it into an existing tip, on the
new tips discussion page.
created December 21, 2007 · complexity basic · author Fuzzymonk · version 7.0
Ok, so I wasted a good part of thanksgiving day trying to get Vim working 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 installed .NET 3.5, but it was unusable. None of the plugins/syntax highlighting/menus that I have grown to love. I need Vim with Ruby/Python/Ctags/and a ton-o-plugins. So here is what I did:
Download and Install
Download and Install gvim71-2.exe (I used the one from hasno.info)
- changed the install dir to C:\vim to get around some odd things with UAC.
- I prefer to have my vimfiles in my home directory, so I choose that option from the installer.
- I also recommend setting the hidden attribute on the vimfiles folder so it does not visually clutter up the my home directory (Right click -> properties -> General Tab -> Check Hidden).
Copy the following files into C:\vim\vim71\
- iconv.dll (from here You can find the dll file in the bin directory of the "libiconv-win32" archive.)
- libintl.dll (from here Get "intl.dll" from the bin directory in the gettext-win32 archive and store it as "libintl.dll" in the same directory as gvim.exe, overwriting the file that may already be there.)
- gvimext.dll (from script#1720)
Configure around Vista
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" Shell Extension in Windows Explorer:
- Run C:\vim\vim71\install.exe
- Choose no when asked if you want to uninstall, then enter "d 14"
Troubleshooting
Shell Extension
If you get a gvim not in your path error with the "Edit with vim" shell ext, make sure you do not have gvim.exe set to run as Administrator, as that will break it.