Archives For How to Upgrade Vim in Ubuntu

Vim 7.4 has been released. Since 7.3 more than a thousand improvements have been made. Also a lot of bugs has been fixed. This simple tutorial will show you how to install or upgrade Vim 7.4 in Ubuntu 12.10, Ubuntu 13.04, Ubuntu 12.04 via PPA.

Vim 7.4

NOTE: The PPA contains the unofficial builds of fresh Vim development versions. Use it at your own risk!

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:nmi/vim-snapshots

Then update and install Vim:

sudo apt-get update; sudo apt-get install vim

Once installed, you can do “:help version7.4” while using vim editor to check all changes.

To remove / downgrade Vim, run below commands:

sudo apt-get install ppa-purge; sudo ppa-purge ppa:nmi/vim-snapshots