I have been a Vim user for the last five years, since I started programming in university. I used it for everything, programming, config files, essays, LaTeX, thesis, Vim helped me through all. However I wanted to experience the other side and to that purpose emacs has been my goto editor for the last six months.

However missing the simplicity and power of Vim made me want to go back (yes I know about evil mode for emacs). The recent article on using Vim like a language was the drop that made my emacs glass overflow spilling me back into the world of Vim.

There are however a few things that I will really miss from emacs, the most prominent being orgmode. Fortunately there is already a plugin for orgmode in Vim, vim-orgmode. However it requires Python support in the compiled version of Vim, something that the version of vim in debian 8.0 does not have. The windows version has support for python but not the python version I need.

The First step is to make sure that we have the necessary dev tools installed. On debian you can do this with sudo apt-get build-dep vim. The option huge enables most options for the compile, pythoninterp enables python, multibyte adds utf-8 support, and --without-x disables X11 support as this build will run on a server and we wont need a graphical user interface.

./configure --with-features=huge --enable-gui=no --enable-pythoninterp --enable-multibyte --without-x

Then we can configure, compile, and install Vim make sudo make install

Now in order to use the newly compiled version of vim add the following to you ~/bashrc file PATH=$PATH:/usr/local/bin/: export PATH

And source the file soure ~/.bashrc. You are now using your own compiled version of Vim, to see what functionality comes with it run vim --version.