Navigate cmd history with up/down (#1112)

This commit is contained in:
David Pedersen authored and GitHub committed 2023-02-25 20:41:32 +03:00
1 parent 6afefa5d09
commit cae576bb1d
4 files changed
+14 -12

No files matched your search

+4 -4
View File
@@ -105,8 +105,8 @@ The following command line commands are provided by lf:
cmd-menu-accept
cmd-enter (default '<c-j>' and '<enter>')
cmd-interrupt (default '<c-c>')
cmd-history-next (default '<c-n>')
cmd-history-prev (default '<c-p>')
cmd-history-next (default '<c-n>' and '<down>')
cmd-history-prev (default '<c-p>' and '<up>')
cmd-left (default '<c-b>' and '<left>')
cmd-right (default '<c-f>' and '<right>')
cmd-home (default '<c-a>' and '<home>')
@@ -651,8 +651,8 @@ Execute the current line.
Interrupt the current shell-pipe command and return to the normal mode.
.PP
.EX
cmd-history-next (default '<c-n>')
cmd-history-prev (default '<c-p>')
cmd-history-next (default '<c-n>' and '<down>')
cmd-history-prev (default '<c-p>' and '<up>')
.EE
.PP
Go to next/previous item in the history.