OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
vim
/
vim80
/
plugin
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:13:33 AM
rwxr-xr-x
📄
README.txt
936 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📄
getscriptPlugin.vim
1.36 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
gzip.vim
2.44 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
logiPat.vim
10.03 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
manpager.vim
784 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📄
matchparen.vim
6.59 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
netrwPlugin.vim
10.2 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
rrhelper.vim
1.38 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
spellfile.vim
499 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📄
tarPlugin.vim
2.22 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
tohtml.vim
9.69 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
vimballPlugin.vim
2.83 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
zipPlugin.vim
2.45 KB
04/18/2023 09:20:34 AM
rw-r--r--
Editing: gzip.vim
Close
" Vim plugin for editing compressed files. " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2016 Oct 30 " Exit quickly when: " - this plugin was already loaded " - when 'compatible' is set " - some autocommands are already taking care of compressed files if exists("loaded_gzip") || &cp || exists("#BufReadPre#*.gz") finish endif let loaded_gzip = 1 augroup gzip " Remove all gzip autocommands au! " Enable editing of gzipped files. " The functions are defined in autoload/gzip.vim. " " Set binary mode before reading the file. " Use "gzip -d", gunzip isn't always available. autocmd BufReadPre,FileReadPre *.gz,*.bz2,*.Z,*.lzma,*.xz,*.lz,*.zst setlocal bin autocmd BufReadPost,FileReadPost *.gz call gzip#read("gzip -dn") autocmd BufReadPost,FileReadPost *.bz2 call gzip#read("bzip2 -d") autocmd BufReadPost,FileReadPost *.Z call gzip#read("uncompress") autocmd BufReadPost,FileReadPost *.lzma call gzip#read("lzma -d") autocmd BufReadPost,FileReadPost *.xz call gzip#read("xz -d") autocmd BufReadPost,FileReadPost *.lz call gzip#read("lzip -d") autocmd BufReadPost,FileReadPost *.zst call gzip#read("zstd -d --rm") autocmd BufWritePost,FileWritePost *.gz call gzip#write("gzip") autocmd BufWritePost,FileWritePost *.bz2 call gzip#write("bzip2") autocmd BufWritePost,FileWritePost *.Z call gzip#write("compress -f") autocmd BufWritePost,FileWritePost *.lzma call gzip#write("lzma -z") autocmd BufWritePost,FileWritePost *.xz call gzip#write("xz -z") autocmd BufWritePost,FileWritePost *.lz call gzip#write("lzip") autocmd BufWritePost,FileWritePost *.zst call gzip#write("zstd --rm") autocmd FileAppendPre *.gz call gzip#appre("gzip -dn") autocmd FileAppendPre *.bz2 call gzip#appre("bzip2 -d") autocmd FileAppendPre *.Z call gzip#appre("uncompress") autocmd FileAppendPre *.lzma call gzip#appre("lzma -d") autocmd FileAppendPre *.xz call gzip#appre("xz -d") autocmd FileAppendPre *.lz call gzip#appre("lzip -d") autocmd FileAppendPre *.zst call gzip#appre("zstd -d --rm") autocmd FileAppendPost *.gz call gzip#write("gzip") autocmd FileAppendPost *.bz2 call gzip#write("bzip2") autocmd FileAppendPost *.Z call gzip#write("compress -f") autocmd FileAppendPost *.lzma call gzip#write("lzma -z") autocmd FileAppendPost *.xz call gzip#write("xz -z") autocmd FileAppendPost *.lz call gzip#write("lzip") autocmd FileAppendPost *.zst call gzip#write("zstd --rm") augroup END