jamesoff.net




Vim for Win32 with Python

While trying my hand at wxPython, I found I needed +python for Python Omnicomplete.

The download below is for a Win32-native gvim with +python (Python 2.5) and all other defaults, except the ARCH which I changed to pentium4.

At some point, I’ll scribble up a quick guide as to how I made it.

I’m assuming this binary doesn’t depend on anything like the location of Python, but if it does, my Python was installed the default C:\Python2.5

This is only the gvim.exe binary at patchlevel 178; install the normal Win32 distribution and then replace gvim.exe with this version.

Download: gvim with python support for win32

Vim with Python support


One comment on “Vim for Win32 with Python”

  1. Posted by Mental flares of a neurotic mind » Python and Vista (Permalink)

    [...] Of course there are Eclipse and VS ways to code python, but thats far to bloated and I wanted a slim and portable environment to fit the language (and my soon coming mac transition). After some IDE / Editor research (and due to the fact that IDLE does not work under Vista) this led me to my old companion Vim. Vim provides Syntax highlighting, Omnicompletion (if you have compiled it with python support) and with an additional script (build) and execution. Unfortunately the Win binaries you get from the page are not compiled with python support, so you can either do it yourself or you can download a prebuild version (vim 7.0 against python 2.5) from here. If you do so you need to have Python 2.5 installed under C:Python25 or it won’t work. Now your are pretty much ready to start, if you want to ease the Ctrl+X Ctrl+O orgy you should install supertab as well and add the following line to your vimrc let g:SuperTabDefaultCompletionType = “<C-X><C-O>” (thanks to this page for the hint). [...]