Vim Tips Wiki

Changes: Easily keep runtime files up to date


Back to page

(mark as duplicate and add category)
m (Updating Duplicate, that was the wrong duplicate Tip number is all.)
Line 1: Line 1:

Revision as of 00:12, January 8, 2011

Duplicate tip

This tip is very similar to the following:

These tips need to be merged – see the merge guidelines.

Tip 747 Printable Monobook Previous Next

created June 17, 2004 · complexity intermediate · author Michael Jarvis · version 6.0

I try to always keep up to date on the latest and greatest patches and runtime files. It's pretty easy to install the patches against the source code, but there are no patches for the runtime files.

What I do is use an FTP mirroring tool (with a shell script wrapper) that keeps the runtime directory in my source code up-to-date. I personally use the fmirror tool (from but I would think any decent tool would work. Every so often, usually when applying a source patch, I run this script, and watch the output to see if any of the runtime files have been updated. If so, I change into the vim63/src directory (or whatever version we're at) and do a "make installruntime".

Here's the command I use for fmirror:

/usr/bin/fmirror -k \
 -l $HOME/src/vim63/runtime \
 -p \
 -r /pub/vim/runtime \
 -s \
 -S -V3

If there are no changes, I see something like this:

07:36:06 /pub/vim/runtime @ -> /home/michael/src/vim63/runtime
07:36:06 Connecting to
07:36:06 Connected.
07:36:08 Remote timezone: -119 minutes from GMT
07:36:11 Mirror finished.

If there are changes, I see the files being downloaded.

Then it's as simple as "cd vim63/src && make installruntime".


This is pretty out-of-date, and I now use rsync instead of fmirror.

See also Get latest releases for syntax highlighting, runtime, plugins etc (the present page may need merging e.g. by making it a comment on the linked page) — Tonymec 09:59, March 30, 2010 (UTC)

Around Wikia's network

Random Wiki