add scrollup scrolldown builtin cmd (#764)
* add scrollup scrolldown builtin cmd Scrollup/down move window pane without moving current cursor position. Default keybinding would be <c-y> for scrollup and <c-e> for scrolldown just like in vim. * limit scrolldown when reached bottom scrolodown will not allow empty space Fix typo
This commit is contained in:
1 parent
7005815671
commit
b4637f91aa
7 files changed
+84
No files matched your search
@@ -35,9 +35,11 @@ The following commands are provided by lf:
|
||||
up (default 'k' and '<up>')
|
||||
half-up (default '<c-u>')
|
||||
page-up (default '<c-b>' and '<pgup>')
|
||||
scrollup (default '<c-y>')
|
||||
down (default 'j' and '<down>')
|
||||
half-down (default '<c-d>')
|
||||
page-down (default '<c-f>' and '<pgdn>')
|
||||
scrolldown (default '<c-e>')
|
||||
updir (default 'h' and '<left>')
|
||||
open (default 'l' and '<right>')
|
||||
top (default 'gg' and '<home>')
|
||||
@@ -279,9 +281,11 @@ Quit lf and return to the shell.
|
||||
up (default 'k' and '<up>')
|
||||
half-up (default '<c-u>')
|
||||
page-up (default '<c-b>' and '<pgup>')
|
||||
scrollup (default '<c-y>')
|
||||
down (default 'j' and '<down>')
|
||||
half-down (default '<c-d>')
|
||||
page-down (default '<c-f>' and '<pgdn>')
|
||||
scrolldown (default '<c-e>')
|
||||
.EE
|
||||
.PP
|
||||
Move the current file selection upwards/downwards by one/half a page/full page.
|
||||
|
||||
Reference in new issue
Block a user