summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index ab2273d94..31096a759 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -1462,6 +1462,30 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Modifier: gocui.ModNone,
Handler: gui.handleSearchEscape,
},
+ {
+ ViewName: "confirmation",
+ Key: gui.getKey("universal.prevItem"),
+ Modifier: gocui.ModNone,
+ Handler: gui.scrollUpConfirmationPanel,
+ },
+ {
+ ViewName: "confirmation",
+ Key: gui.getKey("universal.nextItem"),
+ Modifier: gocui.ModNone,
+ Handler: gui.scrollDownConfirmationPanel,
+ },
+ {
+ ViewName: "confirmation",
+ Key: gui.getKey("universal.prevItem-alt"),
+ Modifier: gocui.ModNone,
+ Handler: gui.scrollUpConfirmationPanel,
+ },
+ {
+ ViewName: "confirmation",
+ Key: gui.getKey("universal.nextItem-alt"),
+ Modifier: gocui.ModNone,
+ Handler: gui.scrollDownConfirmationPanel,
+ },
}
for _, viewName := range []string{"status", "branches", "files", "commits", "commitFiles", "stash", "menu"} {