1
0
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:
Farzad Majidfayyaz
2020-11-17 22:08:32 -05:00
committed by Jesse Duffield
parent 79888d3bde
commit 74bb6f0012
2 changed files with 2 additions and 2 deletions

View File

@@ -384,7 +384,7 @@ func GetDefaultConfig() *UserConfig {
Fetch: "f",
},
Branches: KeybindingBranchesConfig{
CopyPullRequestURL: "c",
CopyPullRequestURL: "<c-y>",
CreatePullRequest: "o",
CheckoutBranchByName: "c",
ForceCheckoutBranch: "F",

View File

@@ -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,
})
}