blob: cedd9114aed915cf26f1f8417d7f3f176b8f6ebc [file] [log] [blame]
Bram Moolenaar9964e462007-05-05 17:54:07 +00001*pi_zip.txt* For Vim version 7.1a. Last change: 2006 Sep 29
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002
Bram Moolenaar910f66f2006-04-05 20:41:53 +00003 +====================+
4 | Zip File Interface |
5 +====================+
Bram Moolenaar98358622005-11-28 22:58:23 +00006
7Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
8 (remove NOSPAM from Campbell's email first)
Bram Moolenaar910f66f2006-04-05 20:41:53 +00009Copyright: Copyright (C) 2005,2006 Charles E Campbell, Jr {{{1 *zip-copyright*
Bram Moolenaar9964e462007-05-05 17:54:07 +000010 Permission is hereby granted to use and distribute this code,
Bram Moolenaar910f66f2006-04-05 20:41:53 +000011 with or without modifications, provided that this copyright
12 notice is copied with it. Like anything else that's free,
13 zip.vim, zipPlugin.vim, and pi_zip.txt are provided *as is*
14 and it comes with no warranty of any kind, either expressed or
15 implied. By using this plugin, you agree that in no event will
16 the copyright holder be liable for any damages resulting from
17 the use of this software.
Bram Moolenaar98358622005-11-28 22:58:23 +000018
19==============================================================================
201. Contents *zip* *zip-contents*
21 1. Contents..................................................|zip-contents|
22 2. Usage.....................................................|zip-usage|
23 3. History...................................................|zip-history|
24
25==============================================================================
262. Usage *zip-usage* *zip-manual*
27
28 When one edits a *.zip file, this plugin will handle displaying a
29 contents page. Select a file to edit by moving the cursor atop
30 the desired file, then hit the <return> key. After editing, one may
31 also write to the file. Currently, one may not make a new file in
32 zip archives via the plugin.
33
Bram Moolenaar9964e462007-05-05 17:54:07 +000034 The zip program supports one option: >
35 g:zip_shq
36< which by default is a single quote under Unix (') and a double quote
37 under Windows ("). If you'd rather have no quotes, simply set
38 g:zip_shq to the empty string (let g:zip_shq= "") in your <.vimrc>.
39
Bram Moolenaar98358622005-11-28 22:58:23 +000040==============================================================================
413. History *zip-history*
Bram Moolenaar9964e462007-05-05 17:54:07 +000042 v10 May 02, 2006 * now using "redraw then echo" to show messages, instead
43 of "echo and prompt user"
44 * g:zip_shq provided to allow for quoting control for the
45 command being passed via :r! ... commands.
Bram Moolenaar4c3f5362006-04-11 21:38:50 +000046 v8 Apr 10, 2006 * Bram Moolenaar reported that he received an error message
Bram Moolenaar9964e462007-05-05 17:54:07 +000047 due to "Pattern not found: ^.*\%0c"; this was caused by
Bram Moolenaar4c3f5362006-04-11 21:38:50 +000048 stridx finding a Name... at the beginning of the line;
49 zip.vim tried 4,$s/^.*\%0c//, but that doesn't work.
50 Fixed.
Bram Moolenaar7b5f8322006-03-23 22:47:08 +000051 v7 Mar 22, 2006 * escaped some characters that can cause filename handling
Bram Moolenaar9964e462007-05-05 17:54:07 +000052 problems.
Bram Moolenaar86e01082005-12-29 22:45:34 +000053 v6 Dec 21, 2005 * writing to files not in directories caused problems -
Bram Moolenaar9964e462007-05-05 17:54:07 +000054 fixed (pointed out by Christian Robinson)
Bram Moolenaar98358622005-11-28 22:58:23 +000055 v5 Nov 22, 2005 * report option workaround installed
56 v3 Oct 18, 2005 * <amatch> used instead of <afile> in autocmds
57 v2 Sep 16, 2005 * silenced some commands (avoiding hit-enter prompt)
Bram Moolenaar9964e462007-05-05 17:54:07 +000058 * began testing under Windows; works thus far
Bram Moolenaar98358622005-11-28 22:58:23 +000059 * filetype detection fixed
60 Nov 03, 2005 * handles writing zipfiles across a network using
Bram Moolenaar9964e462007-05-05 17:54:07 +000061 netrw#NetWrite()
Bram Moolenaar98358622005-11-28 22:58:23 +000062 v1 Sep 15, 2005 * Initial release, had browsing, reading, and writing
63
64==============================================================================
65vim:tw=78:ts=8:ft=help