diff --git a/ui/keybindings.go b/ui/keybindings.go index b17c489..56c5717 100644 --- a/ui/keybindings.go +++ b/ui/keybindings.go @@ -30,11 +30,21 @@ func setKeyBinding(c *controller, g *gocui.Gui) error { return err } + err = g.SetKeybinding("", 'k', gocui.ModNone, c.cursorUp) + if err != nil { + return err + } + err = g.SetKeybinding("", gocui.KeyArrowDown, gocui.ModNone, c.cursorDown) if err != nil { return err } + err = g.SetKeybinding("", 'j', gocui.ModNone, c.cursorDown) + if err != nil { + return err + } + err = g.SetKeybinding("", gocui.KeyArrowLeft, gocui.ModNone, c.cursorLeft) if err != nil { return err