Zip
Nvim :help pages, generated
from source
using the tree-sitter-vimdoc parser.
Builtin plugin: zip
Nvim opens a read-only listing when
:edit is used with a zip archive. The
listing is a
dir buffer with
'filetype' set to "zip"; entries open as
read-only
zip://{archive}/{path} buffers. Requires the
unzip
executable.
Recognized extensions include zip, jar, apk, epub, Office and OpenDocument
formats, whl, xpi, pkpass, and cbz. Remote archives are fetched by
vim.net.
Reading an entry from an encrypted archive prompts for its password.
x extracts the entry under the cursor into the current directory, discarding
its path inside the archive. It never overwrites an existing file.
At the archive root, - opens the containing filesystem directory.
Archive entries cannot be updated. Remote archives are not refetched on
reload, and there is no PowerShell fallback, no custom backend command, and no
support for the legacy
g:zip_* variables. Use
old-zip when those features
are required.
Only the original zip encryption is supported, not AES.
The legacy Vimscript zip plugin browses, updates, and extracts archive
entries. It is not loaded by default; use
:packadd to activate it:
vim.cmd.packadd('old-zip')
This can be done at any time. Its manual is then available as
:help pi_zip.txt.