Skip to content

Tab completion for git paths #2069

@Irubataru

Description

@Irubataru

Contributing guidelines

Module(s)

mini.git

Description

Hiya 👋 I love your plugins, and was looking to mini.git to be a replacement for fugitive. I saw in the beta testing issue that Git show main:% could be used instead of Gedit, and that is true. What I was wondering is if it would be possible to get completion for paths in this command?

My use case is that sometimes I work in a repo and do changes where I refactor some class to be divided into other files, move things around, extract common code, etc.. Then, when I need to review the change, I can open the old (deleted) file with Gedit (or hopefully Git show), and diff it with whatever the new derived file is. It would then be a lot easier to have this workflow if we could tab complete paths after the git ref. I.e. Git show main:<Tab> instead of having to find the old path from the git log.

Thanks! ^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for a feature to existing modulemini.gitnot-plannedThe behavior is not planned to be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions