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

Add gh issues develop #ID --checkout #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

peterfication
Copy link

This adds the only recently available Github CLI command to create a branch for an issue and checking it locally out.

See cli/cli#5469

Please let me know what you think.

I'm pretty new to lua/neovim development, so any tips are appreciated. I just tried to follow what was there already.

@@ -111,6 +111,7 @@ B.gh_issues = function(opts)
actions.select_default:replace(gh_a.gh_issue_insert)
map("i", "<c-t>", gh_a.gh_web_view "issue")
map("i", "<c-l>", gh_a.gh_issue_insert_markdown_link)
map("i", "<c-z>", gh_a.gh_develop "issue")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what's the best key mapping here. <C-b> would be a bad choice for me because I use tmux and this is my tmux prefix.

This adds the only recently available Github CLI command
to create a branch for an issue and checking it locally out.

See cli/cli#5469
@peterfication
Copy link
Author

@sbulav what do you think about this addition?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant