My portable vim configuration.
Some plugins (eg. tern_for_vim) requires python support. On Windows, the official packaged version has this enabled, but it's built for 32bit - thus, you will need a 32bit version of Python installed. Using chocolatey, make sure you install the 32bit packages (either python2-x86_32
or python-x86_32
if you want Python 3), NOT the 64bit ones. Generally, do the following and you're good to go:
C:\>choco install python2-x86_32
C:\>choco install vim
git clone https://github.com/lyphtec/vimfiles ~/.vimfiles
cd ~/.vimfiles
./install.sh
cd ~
git clone https://github.com/lyphtec/vimfiles
cd vimfiles
.\install.bat
cd ~
./.vim/uninstall.sh
cd ~
.\vimfiles\uninstall.bat
For vim-airline support, I'm using a pre-patched Consolas for powerline font. If you are using GVim on Linux, you can install the fonts by running the font-install.sh
script. Other pre-patched powerline fonts compatible with vim-airline are available here -- see notes on this from vim-airline readme.