My favorites | Sign in
Logo
                
Search
for
Updated May 07, 2009 by George.V.Reilly
Labels: Featured
Win64Binaries  

Installing Vim Binaries on Win64

Introduction

I have ported Vim to run natively on Win64, the 64-bit flavor of Windows. The Win32 vim.exe and gvim.exe have always run on Win64, but things like the "Edit with Vim" shell extension didn't work.

There is no nice installer for the Win64 binaries yet.

The 7.2 build of Vim supports the Python interface. You must install the Win64 build of Python 2.5.2 to use it.

Installation

To install Vim, first download vim72.zip. This 18MB file contains all the files you need for a full installation, including the latest Vim runtime.

Unzip the zipfile into a directory whose name ends in vim, such as C:\Program Files\Vim, D:\vim, or C:\mytools\vim. This will create a vim72 subdirectory, containing all the files. Start a cmd.exe window, cd ...\vim\vim72, then run install.exe, the command-line installer. This will offer you a series of choices. You can probably just type d to "do it".`

On Vista and Windows 7, you must run the cmd window as an Administrator. (Most users run as administrators on earlier versions of Windows.)

  • In Windows Explorer, go to c:\windows\system32, select cmd.exe, and right-click. Choose Run as Administrator.
  • In the new Administrator cmd window, cd to the directory where you unzipped the Vim binaries and run install.exe. You should now be able to successfully create the batch files and register "Edit with Vim".

To uninstall, use uninstall.exe in the same directory.

Note: The message translations (:help win32-gettext) do not yet work, because I have not been able to locate a Win64 version of libintl.dll.


Comment by haysoos.gnomeboy, Oct 12, 2008

very helpful, and valid links

Comment by Dave.Kurtzberg, Oct 25, 2008

My right click - edit with vim is back! Thanks!

Comment by wanghao0...@gmail.com, Oct 26, 2008

The "Edit with Vim" is working correctly. Thanks!

Comment by mjujou, Nov 16, 2008

cool thanks :) i love my vim.

Comment by fuzzyeric, Nov 16, 2008

Vim is my favorite editor on my XP x64 box. Thanks for the help getting it to work better there.

GTK+ uses proxy-libintl for x64 Windows targets. http://www.gtk.org/download-windows-64bit.html

There's also wrapping 32-bit DLLs with a 32-bit app and then bouncing calls through the app. http://dnjonline.com/article.aspx?ID=jun07_access3264

These may be more trouble than you're wanting to take on, though...

I could also try building libintl for an x64 target, but I don't think I have any way to test that whatever I build does anything useful. Any ideas?

Comment by david.k.lam1, Nov 22, 2008

woot this worked great for me on 64bit vista... just had to replace the install.exe in the existing vim folder with the one here...

Comment by colby.digital, Dec 03, 2008

The download is really having problems for me. I'll keep trying, but it's timed out after 8mb several times now.

Comment by dancallen, Dec 05, 2008

Thanks a lot! I'm really happy now that I have VIM back on Vista. Thanks.

Comment by carter.terry, Dec 18, 2008

Thank you so much! "Edit with Vim" is such a time saver - thanks again!!

Comment by vincent.cheesbrough, Dec 26, 2008

Thanks, I can have a proper editor on vista64 now )

Comment by gantt.erick, Jan 12, 2009

Sweet. Thanks.

Comment by sndrdg, Jan 14, 2009

Thanks for taking the time to port this over.

Comment by fbmoser, Jan 20, 2009

All works fine on Vista 64. The "Edit with Vim" now appears! Wonderful! Thank you for all.

Comment by licholai, Jan 29, 2009

All seems to work fine on Win7 Beta as well. Thanks!

Comment by seanrules, Feb 18, 2009

This line in my vimrc crashes gvim on x64 vista:

set rulerformat=%55(%{strftime('%a\ %b\ %e\ %I:%M\ %p')}\ %5l,%-6(%c%V%)\ %P%)

Anyone know why?

Comment by former33t, Mar 08, 2009

Awesome job. I hadn't thought about not being able to inject a 32bit DLL into a 64 bit explorer, but it makes sense. I do know that not having the context menu was driving my nuts on my vista x64 box.

Comment by pywpeng, Mar 27, 2009

Does anyone notice that File -> Print does not work? When I click File -> Print, the command line first quickly shows "Printing page xx (xx%)". Then it shows "Print job sent". However, nothing happens on my default printer. I went to the printers folder and none of them shows any printing jobs. If you don't experience this problem, I will try to reinstall Gvim for Win64bit. Thanks

Comment by Andrew.Gause, Apr 08, 2009

Thanks big-time. I need vim on everything!

Comment by jackchoy, Apr 20, 2009

I also am experiencing the same problem regarding print. gvim for 64-bit does not print

Comment by Jonathon.Padfield, Apr 28, 2009

'Edit with Vim' now works perfectly. Thanks.

Comment by farrellj, May 05, 2009

"Edit with Vim" also working in Windows 7 RC x64. Hopefully these manual install steps won't be necessary a year from now, as 64bit (at least for Windows) becomes more mainstream on desktops. Thanks.

Comment by MobyGamer, May 23, 2009

Thank you so much for doing this; it takes some of the pain out of Vista.

Comment by clubstew, Jun 18, 2009

I'm not sure why (g)vim has to run natively on 64-bit windows. Really all we need is the 64-bit extension DLL. Would it be more beneficial to port that to the curent vim source?

Comment by shreeju, Jun 29, 2009

Thanks! This works!

Comment by s.jeanneret, Jul 03, 2009

Perfect! Thanks a lot

Comment by matt.wood61, Jul 10, 2009

Much thanks!

Comment by blueschi, Jul 21, 2009

Thank you very much for this build. However, :hardcopy (and File|Print) produces no output. It simply opens a cmd.exe window that hangs on an external VIM command, that appears to copy a temporary file to LPT1.

Comment by joeandrewkey, Jul 30, 2009

Thank you so much. This makes my life so much easier :)

Comment by jon.delloro, Aug 02, 2009

thanks man, that helps my day :)

Comment by 4slmail, Aug 09, 2009

Thank u

Comment by xenofears, Aug 09, 2009

PROJECT MAINTAINERS: I am a team member of Mingw-w64, and want to make sure our toolchain supports your project.Please contact me for help with 64-bit Libintl and everything else 64-bit support (Windows). I maintain these packages, and have a 64-bit WPG System64 project (http://www.cadforte.com/system64.html.) I will be including VIM, and may use your project.

I have hosted 64-bit binaries for many things, including Gettext, Libintl (Gettext), and libiconv in a package on http://www.cadforte.com/downloads.html. Not however I have just rebuilt them and will be posting an update in a couple of days at most - but the older but still current version DLLs I have posted should be sufficient for these purposes.

Comment by jacob.schramm.berlin, Sep 22, 2009

Another nice possibility to open cmd.exe in administrator mode:

1) Press the windows-key to open the start menu 2) Type 'cmd' 3) Press Ctrl-Shift-Enter 4) Confirm UAC dialog

Yes, Ctrl-Shift is doing the administrative magic here.

Comment by xenofears, Oct 09, 2009

Vim is a now a part of my project, with complete 64-bit support, in a larger functionality configuration for 64-bit that has been yet accomplished AFAICS. It (VIM) has native Python 64-bit 2.6.2 support, tcl/tk 8.5, 8.6, ActivePerl? 5.10, Ruby 1.9.1. If you would like, I wouldn't mind including an optional script file for shell extensions. I don't think it made it into the last release (it is missing from my changelog), but it will be in the next release. I'll post when it's up.

Comment by arjunsingri, Oct 30, 2009

Thanks!

Comment by kevincloudt, Dec 11, 2009

Yippie! I've been using vim for 5 years now and vi for 17 years. Just got a 64 bit machine and been going crazy for the past few weeks with out it. Glad to have this 64bit version. Thanks!


Sign in to add a comment
Hosted by Google Code