Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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