Skip to content

Copy the full (absolute) path of a file or repo to the clipboard #4409

@gitter-me

Description

@gitter-me

Is your feature request related to a problem? Please describe.
I switch between repositories in lazygit using the recent repos feature. However, I want to open the current repository folder (or a specific file) in a file manager or another console window. Unfortunately, the copy commands I’ve found only copy the relative path to the repository.

Describe the solution you'd like
It would be great if I could copy the full (absolute) path of the current repository. Additionally, if I select a file in the file list or within a commit, I also would like to copy the full (absolute) path of that selected file.

Describe alternatives you've considered
Maybe it is possible with a custom command, but perhaps this feature would be useful for others too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions