Vim Tips Wiki

Changes: Easily keep runtime files up to date


Back to page

m (Updating Duplicate, that was the wrong duplicate Tip number is all.)
(Delete the old content which is still in the history.)
(One intermediate revision by one user not shown)
Line 1: Line 1:
#REDIRECT [[Get latest releases for syntax highlighting, runtime, plugins etc]]
|created=June 17, 2004
|author=Michael Jarvis
|category1=Building Vim
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) — [[User:Tonymec|Tonymec]] 09:59, March 30, 2010 (UTC)

Latest revision as of 11:01, July 2, 2013

  1. REDIRECT Get latest releases for syntax highlighting, runtime, plugins etc

Around Wikia's network

Random Wiki