Skip to content

Add gh issues develop #ID --checkout#46

Open
peterfication wants to merge 2 commits intonvim-telescope:masterfrom
peterfication:add-issues-develop
Open

Add gh issues develop #ID --checkout#46
peterfication wants to merge 2 commits intonvim-telescope:masterfrom
peterfication:add-issues-develop

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.

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