From ebfed34145f2bc76764c4bdf1659a5b890803fcb Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 13 Aug 2018 23:46:08 +1000 Subject: [PATCH] add PR #135 keybindings to this branch --- pkg/gui/keybindings.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 6a8a645f5..b4f2bdc57 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -18,6 +18,8 @@ func (gui *Gui) keybindings(g *gocui.Gui) error { {ViewName: "", Key: gocui.KeyCtrlC, Modifier: gocui.ModNone, Handler: gui.quit}, {ViewName: "", Key: gocui.KeyPgup, Modifier: gocui.ModNone, Handler: gui.scrollUpMain}, {ViewName: "", Key: gocui.KeyPgdn, Modifier: gocui.ModNone, Handler: gui.scrollDownMain}, + {ViewName: "", Key: gocui.KeyCtrlU, Modifier: gocui.ModNone, Handler: gui.scrollUpMain}, + {ViewName: "", Key: gocui.KeyCtrlD, Modifier: gocui.ModNone, Handler: gui.scrollDownMain}, {ViewName: "", Key: 'P', Modifier: gocui.ModNone, Handler: gui.pushFiles}, {ViewName: "", Key: 'p', Modifier: gocui.ModNone, Handler: gui.pullFiles}, {ViewName: "", Key: 'R', Modifier: gocui.ModNone, Handler: gui.handleRefresh},