mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Add mapping to copy a pull request URL to the clipboard
This commit is contained in:
committed by
Jesse Duffield
parent
4e1d3e45a3
commit
79888d3bde
@ -505,6 +505,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
||||
Handler: gui.handleCreatePullRequestPress,
|
||||
Description: gui.Tr.LcCreatePullRequest,
|
||||
},
|
||||
{
|
||||
ViewName: "branches",
|
||||
Contexts: []string{LOCAL_BRANCHES_CONTEXT_KEY},
|
||||
Key: gui.getKey(config.Branches.CopyPullRequestURL),
|
||||
Handler: gui.handleCopyPullRequestURLPress,
|
||||
Description: gui.Tr.LcCopyPullRequestURL,
|
||||
},
|
||||
{
|
||||
ViewName: "branches",
|
||||
Contexts: []string{LOCAL_BRANCHES_CONTEXT_KEY},
|
||||
|
Reference in New Issue
Block a user