From e38d9d5f226a22e5299b82fe9c4ea46b7f7db120 Mon Sep 17 00:00:00 2001 From: Suhas Karanth Date: Tue, 7 May 2019 12:25:30 +0530 Subject: Add alternatives for scroll actions to context map --- pkg/gui/keybindings.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/gui') 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": { -- cgit v1.2.3