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 %*

8 comments:

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

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

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

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

    ReplyDelete
  5. 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
  6. 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
  7. http://nomad.so/2013/07/compiling-vim-and-gvim-64bit-on-windows-7/

    ReplyDelete