From f7e4d8d3d338d845a366828d36db7220a12f4bea Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 21 Oct 2018 04:20:06 +0200 Subject: Add keyboard shortcuts g/G for goto top/bottom As in less(1). --- nncmpp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nncmpp.c b/nncmpp.c index dfde884..44199b8 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -1980,6 +1980,8 @@ g_normal_defaults[] = { "End", ACTION_GOTO_BOTTOM }, { "M-<", ACTION_GOTO_TOP }, { "M->", ACTION_GOTO_BOTTOM }, + { "g", ACTION_GOTO_TOP }, + { "G", ACTION_GOTO_BOTTOM }, { "S-Up", ACTION_MOVE_UP }, { "S-Down", ACTION_MOVE_DOWN }, { "Up", ACTION_GOTO_ITEM_PREVIOUS }, -- cgit v1.2.3-70-g09d2