1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
If you just link these scripts instead of copying them, they will be upgraded
automatically. That's a good idea.
If you, as system administrator, want to make those scripts available to
everyone, you should not make those links in the $VIMRUNTIME directory for two
reasons: On installing a new version of vim, a new $VIMRUNTIME directory is
used - the old symlinks are ignored; on removing the old version, the symlinks
might be removed, leaving no trace behind.
You can, however, put them into the vimfiles directory, that's /etc/vim on
Debian systems. Thus "cd /etc/vim; mkdir ftplugin; cd ftplugin; ln -s
/usr/share/doc/vim-scripts/ftplugin/html.vim" does the trick.
Also you may want to have a look at the scripts which hide in Vim's macro
directory, which is found at /usr/share/doc/vim/macros in Debian. Especially
the matchit.vim script is nice.
vim:tw=80
|