Warm tip: This article is reproduced from stackoverflow.com, please click
archive gzip vim

How to open and edit a *.gz file within vim (with auto unzip/zip)

发布于 2020-04-22 11:19:17

Is it possible to auto unzip/zip *.gz files within vim?

Questioner
steveyang
Viewed
91
2017-05-23 19:54

zip/unzip cannot open *.gz files as far as I know.

Vim can open *.gz files with the help of gzip/gunzip like this

Its already discussed here on SO

How to open gzip text files in Gvim without unzipping?