From d124f43cf6c0099c6366ab68aa740b6d9030b669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sat, 1 Aug 2020 14:06:17 +0200 Subject: Support vi-like scrolling with C-y and C-e --- nncmpp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nncmpp.c b/nncmpp.c index 4540c1f..823b659 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -2011,6 +2011,8 @@ g_normal_defaults[] = { "C-n", ACTION_GOTO_ITEM_NEXT }, { "C-b", ACTION_GOTO_PAGE_PREVIOUS }, { "C-f", ACTION_GOTO_PAGE_NEXT }, + { "C-y", ACTION_SCROLL_UP }, + { "C-e", ACTION_SCROLL_DOWN }, { "H", ACTION_GOTO_VIEW_TOP }, { "M", ACTION_GOTO_VIEW_CENTER }, -- cgit v1.2.3