Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Ability to Copy Tags From Another git_branch Scope #180

Open
1 task done
Drew-Daniels opened this issue Oct 31, 2024 · 0 comments
Open
1 task done

feature: Ability to Copy Tags From Another git_branch Scope #180

Drew-Daniels opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Drew-Daniels
Copy link

Did you check the docs?

  • I have read the Grapple docs

Is your feature request related to a problem? Please describe.

Really enjoy using Grapple! It really improves my workflow so much, so thanks for everything you do maintaining this plugin.

I frequently use the git_branch scope, and there are sometimes when I want to copy tags from one scope (git-branch-a) to another scope (git-branch-b).

Currently, I can do this by yanking all the lines in the popup that comes up with :Grapple toggle_tags on git-branch-a and pasting them into the popup window when I'm on git-branch-b, but it would be nice if there were a less manual way of doing this.

Describe the solution you'd like

I think it would be nice if there were a command like :Grapple copy_tags_from <scope> so it could be used like:

  1. git switch <branch-b>
  2. nvim -c "Grapple copy_tags_from branch-a"
  3. See the tags from branch-a populated into the Grapple scope for branch-b

Describe alternatives you've considered

This process can be done manually by yanking lines displayed when :Grapple toggle_tags is called and pasting them into the same popup when on another branch, but it feels like more steps than necessary.

Additional context

No response

@Drew-Daniels Drew-Daniels added the enhancement New feature or request label Oct 31, 2024
@Drew-Daniels Drew-Daniels changed the title feature: Ability to Copy Tags From Another Scope feature: Ability to Copy Tags From Another git_branch Scope Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant