Many Linux systems ship with zmore as a filter that transparently passes gzipped files (.gz, .z, .Z) through gzip --cdfq -- "$FILE" before sending them to the pager (e.g. less on my system). It would be helpful to have :toggle_preview mimic this behavior by default instead of displaying binary.
Example: select helloworld.txt.gz and :toggle_preview. Desired output is the unzipped text, not the binary.
Many Linux systems ship with
zmoreas a filter that transparently passes gzipped files (.gz, .z, .Z) throughgzip --cdfq -- "$FILE"before sending them to the pager (e.g.lesson my system). It would be helpful to have:toggle_previewmimic this behavior by default instead of displaying binary.Example: select helloworld.txt.gz and
:toggle_preview. Desired output is the unzipped text, not the binary.