Passy's PPA didn't work for me so I've installed vim packages from natty. The only thing you need besides the vim packages from natty are ruby1.8 and libruby1.8 debs.
Probably not the most genius of solutions, but it worked well for me.
After searching quite a few times I've come across a PPA with vim 7.3 built for 10.04, 10.10, 11.04 and 11.10. There are quite a few packages in there though, so have a look through the whole list in case another package will get upgraded and cause problems for you. If you wanted to just get the vim packages you could download them - here are the 10.04 links and this page gives the full list with expandable areas under each package showing the full list of links to individual packages.
You could compile it from source in which you can always get the latest and greatest. You'll need to follow these steps:
libncurses5-dev
1. sudo apt-get install build-essentials libncurses5-dev
I couldn't find any official packages either, so I created a PPA. Feel free to use it:
https://launchpad.net/~passy/+archive/vim
Reference: How to use PPAs
I built vim from sources using this sequence of commands:
and I run it without installing by using this wrapper script
~/bin/vim
:But I did that only because I couldn't find a PPA back then.
Vimwiki now has some instructions for building and installing vim from source, for anyone else who finds this:
Here's the relevant text:
Passy's PPA didn't work for me so I've installed vim packages from natty. The only thing you need besides the vim packages from natty are ruby1.8 and libruby1.8 debs.
Probably not the most genius of solutions, but it worked well for me.
The ppa worked for me, but I had to change my .vimrc:
After searching quite a few times I've come across a PPA with vim 7.3 built for 10.04, 10.10, 11.04 and 11.10. There are quite a few packages in there though, so have a look through the whole list in case another package will get upgraded and cause problems for you. If you wanted to just get the vim packages you could download them - here are the 10.04 links and this page gives the full list with expandable areas under each package showing the full list of links to individual packages.
The magic incantation is:
Reference: How to use PPAs
You could compile it from source in which you can always get the latest and greatest. You'll need to follow these steps: libncurses5-dev 1. sudo apt-get install build-essentials libncurses5-dev
Get the latest from http://www.vim.org/download.php#unix
Extract the compressed file to a directory with bunzip2.
Enter the directory and type:
A. ./configure B. make C. sudo make install D. sudo ln -s /usr/local/bin/vim /usr/bin/vim
Done. You now have the latest version of Vim on your system.
Vim 7.3 is in the Ubuntu repositories from Ubuntu 11.04 onwards.