neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

pi_gzip.txt (1530B)


      1 *pi_gzip.txt*   Nvim
      2 
      3 
      4 	  VIM REFERENCE MANUAL	  by Bram Moolenaar
      5 
      6 
      7 Editing compressed files with Vim		*gzip* *bzip2* *compress*
      8 
      9 1. Autocommands			|gzip-autocmd|
     10 
     11 The functionality mentioned here is a |standard-plugin|.
     12 This plugin is only available if 'compatible' is not set.
     13 You can avoid loading this plugin by setting the "loaded_gzip" variable: >
     14 :let loaded_gzip = 1
     15 <
     16 						*g:gzip_exec*
     17 
     18 For security reasons, one may prevent that Vim runs executables automatically
     19 when opening a buffer.  This option (default: "1") can be used to prevent
     20 executing the executables command when set to "0": >
     21 :let g:gzip_exec = 0
     22 <
     23 
     24 ==============================================================================
     25 1. Autocommands						*gzip-autocmd*
     26 
     27 The plugin installs autocommands to intercept reading and writing of files
     28 with these extensions:
     29 
     30 extension	compression >
     31 *.bz2		bzip2
     32 *.bz3		bzip3
     33 *.gz		gzip
     34 *.lz		lzip
     35 *.lz4		lz4
     36 *.lzma		lzma
     37 *.xz		xz
     38 *.Z		compress (Lempel-Ziv)
     39 *.zst		zstd
     40 
     41 That's actually the only thing you need to know.  There are no options.
     42 
     43 After decompressing a file, the filetype will be detected again.  This will
     44 make a file like "foo.c.gz" get the "c" filetype.
     45 
     46 If you have 'patchmode' set, it will be appended after the extension for
     47 compression.  Thus editing the patchmode file will not give you the automatic
     48 decompression.  You have to rename the file if you want this.
     49 
     50 ==============================================================================
     51 vim:tw=78:ts=8:noet:ft=help:norl: