Add keyboard shortcuts g/G for goto top/bottom

As in less(1).
This commit is contained in:
Přemysl Eric Janouch 2018-10-21 04:20:06 +02:00
parent 8f362e787b
commit f7e4d8d3d3
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 0 deletions

View File

@ -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 },