diff options
author | Denis Palashevskii <palash.denis@outlook.com> | 2021-04-21 15:23:36 +0400 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-07-27 21:30:08 +1000 |
commit | 0e6598adbd7c5321c3e9ec46d303a707d0e5ecbb (patch) | |
tree | aefc546c8367137cc5d23039530171899ab251a8 /pkg/gui/keybindings.go | |
parent | f2645da16a4bd4335c4c77e43517b5fd8d8ca259 (diff) |
Implement pull request options menu
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 7 |
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, |