Support vi-like scrolling with C-y and C-e
This commit is contained in:
parent
0e2a050c4f
commit
d124f43cf6
2
nncmpp.c
2
nncmpp.c
|
@ -2011,6 +2011,8 @@ g_normal_defaults[] =
|
||||||
{ "C-n", ACTION_GOTO_ITEM_NEXT },
|
{ "C-n", ACTION_GOTO_ITEM_NEXT },
|
||||||
{ "C-b", ACTION_GOTO_PAGE_PREVIOUS },
|
{ "C-b", ACTION_GOTO_PAGE_PREVIOUS },
|
||||||
{ "C-f", ACTION_GOTO_PAGE_NEXT },
|
{ "C-f", ACTION_GOTO_PAGE_NEXT },
|
||||||
|
{ "C-y", ACTION_SCROLL_UP },
|
||||||
|
{ "C-e", ACTION_SCROLL_DOWN },
|
||||||
|
|
||||||
{ "H", ACTION_GOTO_VIEW_TOP },
|
{ "H", ACTION_GOTO_VIEW_TOP },
|
||||||
{ "M", ACTION_GOTO_VIEW_CENTER },
|
{ "M", ACTION_GOTO_VIEW_CENTER },
|
||||||
|
|
Loading…
Reference in New Issue