vimproc requires a native extension to be built, and will not work properly if
that library (a .so or .dll) is missing.
Supported platforms:
- Windows 32/64bit (Compiled by MinGW or Visual Studio)
- Mac OS X (10.5 or later)
- Linux
- Cygwin
- Solaris
- BSD (but cannot check)
- Android (experimental)
Not supported platforms:
- Other UNIX platforms
- Clone this repo
- Build vimproc's native extensions (see Building for details)
- Copy
autoload/*andplugin/*files to your 'runtimepath' directory (see:help runtimepath).
If you use neobundle.vim, you can update and build vimproc automatically. This is the recommended package manager.
let vimproc_updcmd = has('win64') ?
\ 'tools\\update-dll-mingw 64' : 'tools\\update-dll-mingw 32'
execute "NeoBundle 'Shougo/vimproc.vim'," . string({
\ 'build' : {
\ 'windows' : vimproc_updcmd,
\ 'cygwin' : 'make -f make_cygwin.mak',
\ 'mac' : 'make -f make_mac.mak',
\ 'unix' : 'make -f make_unix.mak',
\ },
\ })vimproc uses a pathogen compatible structure, so it can be managed with pathogen, however you must remember to compile after cloning the repo.
git clone https://github.com/Shougo/vimproc.vim.git ~/.vim/bundle/vimproc.vim
cd ~/.vim/bundle/vimproc.vim
makeNote: You must use GNU make to build vimproc.
$ make
$ make
Note: If you want to build for multiple architectures, you can use ARCHS and CC variables.
Build for i386 and x86-64:
$ make ARCHS='i386 x86_64'
$ gmake
Note: In Windows, using MinGW is recommended. Note: If you have not "gcc" binary, you must change $CC value.
Windows using MinGW (32bit Vim):
$ make -f make_mingw32.mak
Windows using MinGW (If you want to use MinGW compiler in Cygwin):
$ make -f make_mingw32.mak CC=mingw32-gcc
Windows using MinGW (64bit Vim):
$ make -f make_mingw64.mak
Windows using Visual Studio (32bit/64bit Vim):
$ nmake -f make_msvc.mak nodebug=1
Note: To build with Visual Studio, you must install Windows SDK and run from VS command prompt. Shougo#58
If you use MSVC 11 or later, you need to specify where the Win32.mak file is, e.g.:
$ nmake -f make_msvc.mak nodebug=1 "SDK_INCLUDE_DIR=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include"
The architecture will be automatically detected, but you can also specify the architecture explicitly. E.g.:
32bit: nmake -f make_msvc.mak nodebug=1 CPU=i386
64bit: nmake -f make_msvc.mak nodebug=1 CPU=AMD64
Cygwin:
$ make -f make_cygwin.mak
Note: The vimproc_cygwin.dll compiled in Cygwin won't work with Windows Vim.
Kaoriya Vim comes bundled with a precompiled version for vimproc in Windows environment