Vim 64-bit Builds

Here you can download the latest 64-bit builds of Vim for Windows. These builds are updated at least every week.


Major features

  • Compiled with full optimizations for speed.
  • 64-bit python/dyn (Python 2.7) support.
  • 64-bit python3/dyn (Python 3.3) support.

Download

The latest version can always be downloaded here: Download



Install

  • Extract the archive into C:\Program Files\Vim using 7-zip.
  • Open an administrator command prompt and navigate to C:\Program Files\Vim\vim73 and run install.exe to install.



Build from source

Those who would like to build Vim from source themselves may be interested in my build scripts.

Prerequisites

  • Visual Studio 2010 (VS2012 causes strange problems).

Get Vim sources

Let's call our working directory C:\build, where Vim will be compiled and packaged.

cd C:\build
hg clone https://vim.googlecode.com/hg/ vim

build.bat

Place build.bat inside the vim/src directory and invoke it to build. Customize the build options to your liking. The following options are used to build the binaries provided above. Although I do not want to include support for Arabic or Farsi, it seems that those options are bing overrideen by FEATURES=HUGE. Also, I believe that OPTIMIZE=SPEED (which uses /O2) is a better option than the default OPTIMIZE=MAXSPEED (which uses /Ox).

set VCDIR="C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC"
call %VCDIR%\bin\x86_amd64\vcvarsx86_amd64.bat
%VCDIR%\bin\nmake -f Make_mvc.mak CPU=AMD64 GUI=yes OLE=yes PYTHON=C:\Python27 DYNAMIC_PYTHON=yes PYTHON_VER=27 PYTHON3=C:\Python33 DYNAMIC_PYTHON3=yes PYTHON3_VER=33 CSCOPE=yes FEATURES=HUGE ARABIC=no FARSI=no NETBEANS=yes OPTIMIZE=SPEED

package.bat

Invoke package.bat to build a distribution package that can be placed in C:\Program Files\Vim.

@set SRC=C:\build\vim
@set DST=C:\build\vim73
xcopy %SRC%\runtime %DST% /D /E /H /I /Y %*
xcopy %SRC%\src\xxd\xxd.exe %DST%\* /D /Y %*
xcopy %SRC%\src\GvimExt\gvimext.dll %DST%\* /D /Y %*
xcopy %SRC%\src\*.exe %DST%\* /D /Y %*

18 comments:

  1. The best Vim package for Windows 64 bits. Many thanks !

    ReplyDelete
  2. A x64 diff.exe is missing.
    Can't diff at all. :(

    ReplyDelete
  3. Thanks for your work.
    I am using Vim to read huge log files (around 5MB) so the 64-bit versions work much faster :)

    ReplyDelete
  4. Yeah I am missing the cmdline version vim.exe too. Would be great if you could include that, too.

    ReplyDelete
  5. Thanks for your work, solved my Latex-Suite F9 problem, now it's working great.

    ReplyDelete
  6. Could you please add xim support for this? Because in some country such as China, Janpa, the users must always switch input mode between English and their language. Xim can do this thing. Thank you.

    ReplyDelete
  7. I've been building 64-bit binaries as well recently. Based on slightly modified source published here: https://bitbucket.org/djs/vim-win64/ and now uploaded to bintray: https://bintray.com/djs/vim-win64/vim7.4-x64/view

    It turns out you need to build it twice, once with GUI=no to get the command line version.

    I noticed my build also is -xim. I can probably build with it, but figuring out all the build options for vim is always a chore...

    On another note, I am trying to figure out how to fully automate these builds without spending money on it. 64-bit vim build projects come and go over the years. Right now I have an Amazon AMI that's configured to build vim (I can't do it on my own pc because you need SDK 7.1 which requires an ancient version of .net...), but it's still a semi-manual process, and I can't keep the VM running since that would cost way too much money.

    ReplyDelete
  8. http://nomad.so/2013/07/compiling-vim-and-gvim-64bit-on-windows-7/

    ReplyDelete
  9. Could you please enable DIRECTX support with DIRECTX=yes ? You will need to update to the latest patchlevel first.

    ReplyDelete
    Replies
    1. Done. 7.4.430 has +directx

      https://bintray.com/veegee/generic/vim_x64/7.4.430/view/files

      Delete
  10. First of all, thank you for your offering us a way to get newest version of x64 VIM binary on Windows, however,you may omit some details of configuration when you compile the newest version(https://bintray.com/artifact/download/veegee/generic/vim7.4.1403_x64.exe sha1: 68a684e5ce1f0e8ad147d9cd32073fe3d970ee27)
    First, you have forgotten to add --enable-rubyinterp to compile this version, so this verion do not support ruby at all!
    Second, you are compiling versions with old libs, you are using Lua 5.2 rather than Lua 5.3 for expample.
    Finally, Let me express my appreciation for your wonderful work.As I can see, you have posted a long list of VIM binaries in different versions.This post of mine is more like a reminder to you rather than a compliant, but it'll be better if these problems are fixed in the future.

    ReplyDelete
    Replies
    1. Thanks for the heads up, I will add it in the next version :)

      Delete
  11. Hello,

    what about the latest (8.0) VIM version? Are you considering the creation of the x64 setup for this new release?

    Thanks for your valuable work.

    ReplyDelete
    Replies
    1. I definitely plan to update it as soon as I get a chance. Been super busy with another project lately, but this project is definitely not abandoned. Vim 8 changed some build settings, so this time, it wasn't as simple as compiling it. I have to check out what they changed and update the build settings appropriately.

      Delete
    2. Thanks for your reply. I will stay anxiously awaiting the new release.

      Delete