summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorDenis Palashevskii <palash.denis@outlook.com>2021-04-21 15:23:36 +0400
committerJesse Duffield <jessedduffield@gmail.com>2021-07-27 21:30:08 +1000
commit0e6598adbd7c5321c3e9ec46d303a707d0e5ecbb (patch)
treeaefc546c8367137cc5d23039530171899ab251a8 /pkg/gui/keybindings.go
parentf2645da16a4bd4335c4c77e43517b5fd8d8ca259 (diff)
Implement pull request options menu
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 2e690a1e4..5519f1954 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -548,6 +548,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
{
ViewName: "branches",
Contexts: []string{string(LOCAL_BRANCHES_CONTEXT_KEY)},
+ Key: gui.getKey(config.Branches.ViewPullRequestOptions),
+ Handler: gui.handleCreatePullRequestMenu,
+ Description: gui.Tr.LcCreatePullRequest,
+ },
+ {
+ ViewName: "branches",
+ Contexts: []string{string(LOCAL_BRANCHES_CONTEXT_KEY)},
Key: gui.getKey(config.Branches.CopyPullRequestURL),
Handler: gui.handleCopyPullRequestURLPress,
Description: gui.Tr.LcCopyPullRequestURL,