Add keyboard shortcuts g/G for goto top/bottom
As in less(1).
This commit is contained in:
parent
8f362e787b
commit
f7e4d8d3d3
2
nncmpp.c
2
nncmpp.c
|
@ -1980,6 +1980,8 @@ g_normal_defaults[] =
|
||||||
{ "End", ACTION_GOTO_BOTTOM },
|
{ "End", ACTION_GOTO_BOTTOM },
|
||||||
{ "M-<", ACTION_GOTO_TOP },
|
{ "M-<", ACTION_GOTO_TOP },
|
||||||
{ "M->", ACTION_GOTO_BOTTOM },
|
{ "M->", ACTION_GOTO_BOTTOM },
|
||||||
|
{ "g", ACTION_GOTO_TOP },
|
||||||
|
{ "G", ACTION_GOTO_BOTTOM },
|
||||||
{ "S-Up", ACTION_MOVE_UP },
|
{ "S-Up", ACTION_MOVE_UP },
|
||||||
{ "S-Down", ACTION_MOVE_DOWN },
|
{ "S-Down", ACTION_MOVE_DOWN },
|
||||||
{ "Up", ACTION_GOTO_ITEM_PREVIOUS },
|
{ "Up", ACTION_GOTO_ITEM_PREVIOUS },
|
||||||
|
|
Loading…
Reference in New Issue