diff options
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index be80b4608..fbdfd78f8 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1383,6 +1383,24 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Modifier: gocui.ModNone, Handler: gui.scrollDownConfirmationPanel, }, + { + ViewName: "menu", + Key: gui.getKey("universal.select"), + Modifier: gocui.ModNone, + Handler: gui.wrappedHandler(gui.onMenuPress), + }, + { + ViewName: "menu", + Key: gui.getKey("universal.confirm"), + Modifier: gocui.ModNone, + Handler: gui.wrappedHandler(gui.onMenuPress), + }, + { + ViewName: "menu", + Key: gui.getKey("universal.confirm-alt1"), + Modifier: gocui.ModNone, + Handler: gui.wrappedHandler(gui.onMenuPress), + }, } for _, viewName := range []string{"status", "branches", "files", "commits", "commitFiles", "stash", "menu"} { |