sponsor Vim development Vim logo Vim Book Ad

The Vim Mercurial repository

Vim is available through Mercurial. This is the most straightforward way to get Vim and keep it up-to-date.

You can obtain Vim for the first time with:

hg clone https://vim.googlecode.com/hg/ vim
And update to the latest version with:
cd vim
hg pull
hg update

If you don't know how to use Mercurial, you'll probably want to look at the Guide.

Build and install Vim as usual. If you are happy with the defaults:

cd src
make distclean  # if you build Vim before
sudo make install

Browsing the Vim sources

You can browse the Mercurial repository online. This shows the most recent version of the files, including runtime files.

Note that besides the "default" branch there are others. The "vim73" branch was for 7.3 test versions. You probably want to switch to the "default" branch to get 7.3.001 and later, like this:

hg update default
The "vim72" branch is for the older 7.2.xxx versions. No further changes are expected here.

If you have local changes you may need to merge. If you are sure you can discard local changes (e.g. if you were just trying a patch),you can use:

hg update -C

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo