From 0e6598adbd7c5321c3e9ec46d303a707d0e5ecbb Mon Sep 17 00:00:00 2001 From: Denis Palashevskii Date: Wed, 21 Apr 2021 15:23:36 +0400 Subject: Implement pull request options menu --- pkg/gui/keybindings.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkg/gui/keybindings.go') 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 @@ -545,6 +545,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Handler: gui.handleCreatePullRequestPress, Description: gui.Tr.LcCreatePullRequest, }, + { + 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)}, -- cgit v1.2.3