From 3cda42fc031d9c68bfedbacab0317f76c21d0c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 26 Jun 2019 23:01:53 -0400 Subject: [PATCH] add ctrl+k and ctrl+j for navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index cb485f0..2e30a60 100644 --- a/main.go +++ b/main.go @@ -52,6 +52,8 @@ func main() { Binding{gocui.KeyCtrlC, gocui.ModNone, quit}, Binding{gocui.KeyArrowUp, gocui.ModNone, mainView.CursorUp}, Binding{gocui.KeyArrowDown, gocui.ModNone, mainView.CursorDown}, + Binding{gocui.KeyCtrlK, gocui.ModNone, mainView.CursorUp}, + Binding{gocui.KeyCtrlJ, gocui.ModNone, mainView.CursorDown}, } infoView := &ViewController{ Name: "info",