Skip to content

Keep file extensions on "edit" #1254

@essembeh

Description

@essembeh

Hi

When editing files, tig creates a temporary blob in /tmp to open it with my editor vim.
Very cool feature, but when I edit python files for example, temp file is /tmp/tigblob.SANFvO.unknown.
The .py file extension is replaced with .unknown and vim does not activate Python syntax.

Maybe it would be possible to keep the original file extension while creating the temporary filename?

Thanks

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