From 4aaaf4e21fa19dcc27493db6b0ead42107543e6b Mon Sep 17 00:00:00 2001 From: erroneousboat Date: Sun, 9 Oct 2016 16:15:10 +0200 Subject: [PATCH] Implement other keys Fixes #2 --- src/handlers/event.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/handlers/event.go b/src/handlers/event.go index 912d119..7a604a7 100644 --- a/src/handlers/event.go +++ b/src/handlers/event.go @@ -30,8 +30,16 @@ func anyKeyHandler(ctx *context.AppContext) func(termui.Event) { actionInsertMode(ctx) case "": actionScrollUpChat(ctx) + case "C-b": + actionScrollUpChat(ctx) + case "C-u": + actionScrollUpChat(ctx) case "": actionScrollDownChat(ctx) + case "C-f": + actionScrollDownChat(ctx) + case "C-d": + actionScrollDownChat(ctx) } } else if ctx.Mode == context.InsertMode { switch key {