Skip to content

Preserve vim's default handling of known binary files (e.g., *.gz, *.zip, etc.) #38

@theopathic

Description

@theopathic

Would you please modify hexmode so as to preserve vim's default handling of known binary files (e.g., *.gz, *.zip, etc.)?
Currently I get:

% vim text.txt.gz
Error detected while processing BufRead Autocommands for "*.gz"..function gzip#read:
line 47:
Error: Could not read uncompressed file

and then it opens the gzip'd text.txt with hexmode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions