summaryrefslogtreecommitdiff
path: root/runtime/doc/usr_41.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-21 21:23:25 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-21 21:23:25 +0000
commit76916e60ed6296aff1b855408b81cc08b8e07257 (patch)
treebfc4e296dfdec7e856eaabe81a4fdd32697130c5 /runtime/doc/usr_41.txt
parenteee697b748159dfc85f4dd9fe6478a31a1f9d145 (diff)
downloadvim-git-76916e60ed6296aff1b855408b81cc08b8e07257.tar.gz
updated for version 7.0231
Diffstat (limited to 'runtime/doc/usr_41.txt')
-rw-r--r--runtime/doc/usr_41.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index c8c70559b..195935038 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -1,4 +1,4 @@
-*usr_41.txt* For Vim version 7.0aa. Last change: 2006 Feb 22
+*usr_41.txt* For Vim version 7.0aa. Last change: 2006 Mar 21
VIM USER MANUAL - by Bram Moolenaar
@@ -24,6 +24,7 @@ script. There are a lot of them, thus this is a long chapter.
|41.13| Writing a compiler plugin
|41.14| Writing a plugin that loads quickly
|41.15| Writing library scripts
+|41.16| Distributing Vim scripts
Next chapter: |usr_42.txt| Add new menus
Previous chapter: |usr_40.txt| Make new commands
@@ -2155,6 +2156,9 @@ mean is that it loads quickly the first time, postponing the bulk of the
script to the second time, which only happens when you actually use it. When
you always use the functionality it actually gets slower!
+Note that since Vim 7 there is an alternative: use the |autoload|
+functionality |41.15|.
+
The following example shows how it's done: >
" Vim global plugin for demonstrating quick loading
@@ -2277,6 +2281,19 @@ like: >
Further reading: |autoload|.
==============================================================================
+*41.16* Distributing Vim scripts *distribute-script*
+
+Vim users will look for scripts on the Vim website: http://www.vim.org.
+If you made something that is useful for others, share it!
+
+Vim scripts can be used on any system. There might not be a tar or gzip
+command. If you want to pack files together and/or compress them the "zip"
+utility is recommended.
+
+For utmost portability use Vim itself to pack scripts together. This can be
+done with the Vimball utility. See |vimball|.
+
+==============================================================================
Next chapter: |usr_42.txt| Add new menus