Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've manually installed Vim7.3 on a Linux machine. After everything is compiled and working, I've discovered that there are (optional?) patches that can (should?) be installed.

  • What's the importance of these patches?
  • Is there an example of applying all patches at once?


share|improve this question

closed as not a real question by Nifle, Dave M, ChrisF, allquixotic, haimg Jan 15 '13 at 21:41

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

The patches are bug fixes and minor feature additions. Whether any of them are important to you depends on how you use Vim and which features you use.

Vim patches can be applied like patches are to any other program. The process is briefly described here.

However, Vim 7.3 is currently at patch level 762. That's a lot of patches to download and apply. A better way to keep your Vim up to date is to obtain the source from the Mercurial repository as described here. It's really easy to do; doesn't require any more knowledge of Mercurial than the three commands given on that page; and is easier and less error prone than using patches.

To install:

hg clone vim

To update:

hg pull
hg update
share|improve this answer
Well, I have used mercurial in the past, and I like it. However, it just doesn't work for me now. Maybe this computer is behind some kind of a firewall. Strange, but command line tools like wget, ftp, hg, git or even ping fail; but full browser like lynx or firefox works... – Zvika Jan 15 '13 at 19:20
Of course, I do agree that in the general case HG seems to be simpler solution... However, are you sure that being at the Latest version in HG is equivalent to applying all patches? It sounds even riskier - being on the edge. – Zvika Jan 15 '13 at 19:22
Yes. When the Vim maintainer creates a patch, he sends it to the vim_dev mailing list, adds it to the patches directory at, and checks it in to the Mercurial repository--I don't know in what order, but all within a day. If you can't use hg, using the patches works--I used to do that--it's just not as convenient. – garyjohn Jan 15 '13 at 20:20

Well, I don't know how important is it do it, but it's quite easy:

From the directory containing all patches:

cat * > ../patch.txt

And then move "patch.txt" to "src" directory, and:

patch -b -p1 < patch.txt | tee patch.log
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.