mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-10 22:42:00 +02:00
Change copy PR mapping to <c-y> and use gui.Tr for the message
This commit is contained in:
committed by
Jesse Duffield
parent
79888d3bde
commit
74bb6f0012
@@ -384,7 +384,7 @@ func GetDefaultConfig() *UserConfig {
|
||||
Fetch: "f",
|
||||
},
|
||||
Branches: KeybindingBranchesConfig{
|
||||
CopyPullRequestURL: "c",
|
||||
CopyPullRequestURL: "<c-y>",
|
||||
CreatePullRequest: "o",
|
||||
CheckoutBranchByName: "c",
|
||||
ForceCheckoutBranch: "F",
|
||||
|
@@ -108,7 +108,7 @@ func (gui *Gui) handleCopyPullRequestURLPress(g *gocui.Gui, v *gocui.View) error
|
||||
}
|
||||
|
||||
return gui.createPopupPanel(createPopupPanelOpts{
|
||||
prompt: "Pull request URL copied to clipboard",
|
||||
prompt: gui.Tr.PullRequestURLCopiedToClipboard,
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user