Wikia

Vim Tips Wiki

Changes: Get latest releases for syntax highlighting, runtime, plugins etc

Edit

Back to page

(fix DrChip changed URL + minor manual clean)
(Change <tt> to <code>, perhaps also minor tweak.)
Line 30: Line 30:
   
 
==Comments==
 
==Comments==
If you have '''<tt>rsync</tt>''' installed, you can use it to synchronize your runtime files. I use it to keep my "master" runtimes up-to-date, currently at '''<tt>~/.build/vim/vim72/runtime/</tt>''', as follows (the "parent" '''<tt>vim72</tt>''' directory being the current directory):
+
If you have '''<code>rsync</code>''' installed, you can use it to synchronize your runtime files. I use it to keep my "master" runtimes up-to-date, currently at '''<code>~/.build/vim/vim72/runtime/</code>''', as follows (the "parent" '''<code>vim72</code>''' directory being the current directory):
 
<pre>
 
<pre>
 
rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ ./runtime/
 
rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ ./runtime/
 
</pre>
 
</pre>
On Linux, I follow that by a '''<tt>make installruntime</tt>''' step if anything other than '''<tt>tags</tt>''' has been updated.
+
On Linux, I follow that by a '''<code>make installruntime</code>''' step if anything other than '''<code>tags</code>''' has been updated.
   
 
'''Note:''' Even on Windows, where I expect rsync to be available at least via Cygwin and/or MinGW and/or GnuWin32, I recommend downloading the "Unix" runtimes; even Vim for Windows can source them with no problem. It's true that Notepad cannot display them correctly, but Wordpad can. — [[User:Tonymec|Tonymec]] 05:45, 6 May 2009 (UTC)
 
'''Note:''' Even on Windows, where I expect rsync to be available at least via Cygwin and/or MinGW and/or GnuWin32, I recommend downloading the "Unix" runtimes; even Vim for Windows can source them with no problem. It's true that Notepad cannot display them correctly, but Wordpad can. — [[User:Tonymec|Tonymec]] 05:45, 6 May 2009 (UTC)

Revision as of 05:46, July 13, 2012

Duplicate tip

This tip is very similar to the following:

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

Tip 744 Printable Monobook Previous Next

created 2004 · complexity basic · author Charles E. Campbell, Jr. · version 6.0


This tip is obsolete: use Mercurial instead; see building Vim and using Mercurial.

Do you want the latest, official syntax highlighting files, runtime scripts, documents, macros, language support, plugins, etc? See

ftp://ftp.home.vim.org/pub/vim/runtime
ftp://ftp.home.vim.org/pub/vim/runtime/colors
ftp://ftp.home.vim.org/pub/vim/runtime/compiler
ftp://ftp.home.vim.org/pub/vim/runtime/doc
ftp://ftp.home.vim.org/pub/vim/runtime/lang
ftp://ftp.home.vim.org/pub/vim/runtime/macros
ftp://ftp.home.vim.org/pub/vim/runtime/syntax
ftp://ftp.home.vim.org/pub/vim/runtime/tools

Patches and whatnot are distributed on vim-dev, but typically don't contain the updates to files in the directories above. If you're having a problem with syntax highlighting, for instance, check the syntax repository above just in case its been fixed already.

In my own case, I put experimental versions of syntax highlighting files and plugins that I maintain here, such as netrw.vim (netrw v46a now supports remote directory listing for example).

Comments

If you have rsync installed, you can use it to synchronize your runtime files. I use it to keep my "master" runtimes up-to-date, currently at ~/.build/vim/vim72/runtime/, as follows (the "parent" vim72 directory being the current directory):

rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ ./runtime/

On Linux, I follow that by a make installruntime step if anything other than tags has been updated.

Note: Even on Windows, where I expect rsync to be available at least via Cygwin and/or MinGW and/or GnuWin32, I recommend downloading the "Unix" runtimes; even Vim for Windows can source them with no problem. It's true that Notepad cannot display them correctly, but Wordpad can. — Tonymec 05:45, 6 May 2009 (UTC)


Around Wikia's network

Random Wiki