summaryrefslogtreecommitdiffstats
path: root/pkg/gui
diff options
context:
space:
mode:
authorSuhas Karanth <sudo.suhas@gmail.com>2019-05-07 12:25:30 +0530
committerJesse Duffield <jessedduffield@gmail.com>2019-05-12 16:20:42 +1000
commite38d9d5f226a22e5299b82fe9c4ea46b7f7db120 (patch)
treea4c92a3dd877a79060d67f5a6840bf1ebd127700 /pkg/gui
parent97f060d38d5f1d1b33e5826e86a5bc043294e376 (diff)
Add alternatives for scroll actions to context map
Diffstat (limited to 'pkg/gui')
-rw-r--r--pkg/gui/keybindings.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 4c1bdd184..c205d3384 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -576,12 +576,14 @@ func (gui *Gui) GetContextMap() map[string]map[string][]*Binding {
Modifier: gocui.ModNone,
Handler: gui.scrollDownMain,
Description: gui.Tr.SLocalize("ScrollDown"),
+ Alternative: "fn+up",
}, {
ViewName: "main",
Key: gocui.MouseWheelUp,
Modifier: gocui.ModNone,
Handler: gui.scrollUpMain,
Description: gui.Tr.SLocalize("ScrollUp"),
+ Alternative: "fn+down",
},
},
"staging": {