By default, the  package in Arch Linux doesn't include the python interpreter, ruby interpreter, or the lua interpreter. I use , which includes pythonmode. Pythonmode requires python interpreter support, which can be done in a couple of different ways, depending on your preferences. I actually found a really nifty way after I wrote the first part of this, which uses from the AUR.

Method 1: ABS and manual config

Install ABS

To change the default config options of a package in arch, you need the Arch Build System

pacman -S abs

You then need to sync the abs with your system by doing the following:

sudo abs

I recommend doing this every so often by implementing it as a cron job. It must be run as sudo. Feel free to skip over this part, but here's how to do it:

sudo crontab -e

Add the following line to your crontab (this line makes ABS run every day at noon. For other crontab variations, look at the Arch Wiki Crontab Format

00 12 * * * ab

And hit :wq to save your changes (assuming you're using vim as your crontab editor)

I then copied the vim package into my own folder, for me ~/apps/abs/vim/:

cp /var/abs/extra/vim/ ~/apps/abs/vim/

Change the vim package

So now we have our own version of the package in ~/apps/abs/vim/. I then change the PKGBUILD of our own vim file to add the necessary configuration components. In the ./configure section of PKGBUILD, I changed:








You can do the following with this patch (you'll note I also added x support, this is for clipboard issues that I had. You're welcome to change it back to no):

--- /var/abs/extra/vim/PKGBUILD 2013-02-18 18:05:23.000000000 -0500

+++ PKGBUILD 2013-02-18 21:40:20.180395771 -0500
@@ -79,16 +79,16 @@
- --with-x=no </span>
+ --with-x=yes </span>
- --disable-pythoninterp </span>
+ --enable-pythoninterp </span>
- --disable-rubyinterp </span>
- --disable-luainterp
+ --enable-rubyinterp </span>
+ --enable-luainterp


I then compiled the package with:


And installed it with the following (note that package name is due to the current version of vim):

pacman -U vim-7.3.798-1-i686.pkg.tar.xz

Obviously replace this with your own architecture, version, etc.

Method 2: customizepkg

Install customizepkg from the AUR. A really good explanation of customizepkg is here
Write a rule in /etc/customizepkg.d/vim that contains the following:


This file, when used in conjunction with yaourt
Note: You can always view my customizepkg.d's on my Github Repository for all my homesick files.