Mercurial > vim
annotate runtime/doc/pi_gzip.txt @ 16397:7a942d92980d v8.1.1203
patch 8.1.1203: some autocmd tests are old style
commit https://github.com/vim/vim/commit/69ea587289b03e23a9fb96adffd6e8173cbc5896
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 25 20:29:00 2019 +0200
patch 8.1.1203: some autocmd tests are old style
Problem: Some autocmd tests are old style.
Solution: Turn the tests into new style. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4295)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Apr 2019 20:30:05 +0200 |
parents | 2f7e67dd088c |
children | 0e473e9e70c2 |
rev | line source |
---|---|
13963 | 1 *pi_gzip.txt* For Vim version 8.1. Last change: 2016 Nov 06 |
7 | 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 {Vi does not have any of this} | |
17 | |
18 ============================================================================== | |
19 1. Autocommands *gzip-autocmd* | |
20 | |
21 The plugin installs autocommands to intercept reading and writing of files | |
22 with these extensions: | |
23 | |
24 extension compression ~ | |
25 *.Z compress (Lempel-Ziv) | |
26 *.gz gzip | |
27 *.bz2 bzip2 | |
3713 | 28 *.lzma lzma |
29 *.xz xz | |
10319
169a62d5bcb9
commit https://github.com/vim/vim/commit/b4ada79aa7d0d1e5da3a659b1a203d7cae9f7f59
Christian Brabandt <cb@256bit.org>
parents:
10198
diff
changeset
|
30 *.lz lzip |
10385
368468ef35cf
commit https://github.com/vim/vim/commit/c0514bf4777a1d55f5785b3887c5686fd0bbe870
Christian Brabandt <cb@256bit.org>
parents:
10319
diff
changeset
|
31 *.zst zstd |
7 | 32 |
33 That's actually the only thing you need to know. There are no options. | |
34 | |
35 After decompressing a file, the filetype will be detected again. This will | |
36 make a file like "foo.c.gz" get the "c" filetype. | |
37 | |
38 If you have 'patchmode' set, it will be appended after the extension for | |
39 compression. Thus editing the patchmode file will not give you the automatic | |
40 decompression. You have to rename the file if you want this. | |
41 | |
42 ============================================================================== | |
14421 | 43 vim:tw=78:ts=8:noet:ft=help:norl: |