blob: 376334ddb4f849d6781d8d665f15d35bcdb80bdd [file] [log] [blame]
Bram Moolenaard68071d2006-05-02 22:08:30 +00001*pi_vimball.txt* For Vim version 7.0g. Last change: 2006 May 01
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +00002
3 ----------------
4 Vimball Archiver
5 ----------------
6
7Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
8 (remove NOSPAM from Campbell's email first)
9Copyright: (c) 2004-2006 by Charles E. Campbell, Jr. *Vimball-copyright*
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000010 The VIM LICENSE applies to Vimball.vim, and Vimball.txt
11 (see |copyright|) except use "Vimball" instead of "Vim".
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000012 No warranty, express or implied.
13 Use At-Your-Own-Risk!
14
15==============================================================================
161. Contents *vimball* *vimball-contents*
17
18 1. Contents......................................: |vimball-contents|
19 2. Vimball Manual................................: |vimball-manual|
20 3. Vimball History...............................: |vimball-history|
21
22
23==============================================================================
242. Vimball Manual *vimball-manual*
25
26 *:MkVimball*
27 :[range]MkVimball[!] filename
28
29 This command takes lines holding a path to files to be included in
30 your vimball; as an example: >
31 plugin/something.vim
32 doc/something.txt
33< using MkVimball on this range will create a file called "filename.vba"
34 which can be used by Vimball.vim to re-create these files. If the
35 "filename.vba" file already exists, then MkVimball will issue a
36 warning and not create the file. Note that these paths are relative
37 to your .vim (vimfiles) directory, and the files should be in that
38 directory. The vimball plugin uses the first |'runtimepath'|directory
39 that exists as a prefix; don't use absolute paths.
40
41 If you use the exclamation point (!), then MkVimball will create the
42 "filename.vba" file, overwriting it if it already exists. This
43 behavior resembles that for |:w|.
44
45 *vimball-extract*
46 vim filename.vba
47
48 Simply editing a Vimball will cause Vimball.vim to tell the user to
49 source the file to extract its contents.
50
51 Extraction will only proceed if the first line of a putative vimball
52 file holds the "Vimball Archiver by Charles E. Campbell, Jr., Ph.D."
53 line.
54
55 :VimballList *vimball-vimballlist*
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000056
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000057 This command will tell Vimball to list the files in the archive, along
58 with their lengths in lines.
59
60
61==============================================================================
623. Vimball History *vimball-history* {{{1
63
Bram Moolenaard68071d2006-05-02 22:08:30 +000064 13 : May 01, 2006 * exists("&acd") used to determine if the acd
65 option exists
66 12 : May 01, 2006 * bugfix - the |'acd'| option is not always defined
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000067 11 : Apr 27, 2006 * VimballList would create missing subdirectories that
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000068 the vimball specified were needed. Fixed.
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000069 10 : Apr 27, 2006 * moved all setting saving/restoration to a pair of
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000070 functions. Included some more settings in them
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000071 which frequently cause trouble.
72 9 : Apr 26, 2006 * various changes to support Windows prediliction
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000073 for backslashes and spaces in file and directory
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000074 names.
75 7 : Apr 25, 2006 * bypasses foldenable
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000076 * uses more exe and less norm! (:yank :put etc)
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000077 * does better at insuring a "Press ENTER" prompt
78 appears to keep its messages visible
79 4 : Mar 31, 2006 * BufReadPost seems to fire twice; BufReadEnter
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000080 only fires once, so the "Source this file..."
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000081 message is now issued only once.
82 3 : Mar 20, 2006 * removed query, now requires sourcing to be
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000083 extracted (:so %). Message to that effect
Bram Moolenaar25e2c9e2006-04-27 21:40:34 +000084 included.
85 * :VimballList now shows files that would be
86 extracted.
87 2 : Mar 20, 2006 * query, :UseVimball included
88 1 : Mar 20, 2006 * initial release
89
90
91==============================================================================
92vim:tw=78:ts=8:ft=help:fdm=marker