robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
434792787b
master
1*zip.txt* Nvim 2 3 4 NVIM REFERENCE MANUAL 5 6 7Builtin plugin: zip *zip* 8 9Nvim opens a read-only listing when |:edit| is used with a zip archive. The 10listing is a |dir| buffer with 'filetype' set to "zip"; entries open as 11read-only `zip://{archive}/{path}` buffers. Requires the `unzip` 12executable. 13 14Recognized extensions include zip, jar, apk, epub, Office and OpenDocument 15formats, whl, xpi, pkpass, and cbz. Remote archives are fetched by |vim.net|. 16 17Reading an entry from an encrypted archive prompts for its password. 18 19 *g:loaded_nvim_zip_plugin* 20To disable the built-in zip browser, set this before startup: >lua 21 22 vim.g.loaded_nvim_zip_plugin = 1 23< 24MAPPINGS *zip-mappings* 25 26The standard |dir-buffer-mappings|, plus: 27 28• x extracts the entry under the cursor into the current directory, discarding 29 its path inside the archive. It never overwrites an existing file. 30 31At the archive root, - opens the containing filesystem directory. 32 33LIMITATIONS *zip-limitations* 34 35Archive entries cannot be updated. Remote archives are not refetched on 36reload, and there is no PowerShell fallback, no custom backend command, and no 37support for the legacy `g:zip_*` variables. Use |old-zip| when those features 38are required. 39 40Only the original zip encryption is supported, not AES. 41 42============================================================================== 43Legacy plugin: zip *old-zip* 44 45The legacy Vimscript zip plugin browses, updates, and extracts archive 46entries. It is not loaded by default; use `:packadd` to activate it: >lua 47 48 vim.cmd.packadd('old-zip') 49< 50This can be done at any time. Its manual is then available as 51`:help pi_zip.txt`. 52 53vim:tw=78:ts=8:noet:ft=help