Document mode-switching between : and !/$/%/& command-line modes (#966)

Documents #960, also known as
https://github.com/gokcehan/lf/pull/960/commits/52a151aba22f745e045427bf6c45511325abc6fa
This commit is contained in:
Ilya Grigoriev authored and GitHub committed 2022-10-16 18:46:43 +03:00
1 parent 654b8737b8
commit e570d5f65b
3 files changed
+38 -10

No files matched your search

+15 -5
View File
@@ -499,10 +499,16 @@ file is untagged, otherwise remove the tag.
# Command Line Commands
This section shows information about command line commands. These should be
mostly compatible with readline keybindings. A character refers to a unicode
code point, a word consists of letters and digits, and a unix word consists of
any non-blank characters.
The prompt character specifies which of the several command-line modes you are
in. For example, the 'read' command takes you to the ':' mode.
When the cursor is at the first character in ':' mode, pressing one of the keys
'!', '$', '%', or '&' takes you to the corresponding mode. You can go back with
'cmd-delete-back' ('<backspace>' by default).
The command line commands should be mostly compatible with readline keybindings.
A character refers to a unicode code point, a word consists of letters and
digits, and a unix word consists of any non-blank characters.
cmd-escape (default '<esc>')
@@ -548,9 +554,13 @@ Move the cursor to the left/right.
Move the cursor to the beginning/end of line.
cmd-delete (default '<c-d>' and '<delete>')
Delete the next character.
cmd-delete-back (default '<backspace>' and '<backspace2>')
Delete the next character in forward/backward direction.
Delete the previous character. When at the beginning of a prompt, returns either
to normal mode or to ':' mode.
cmd-delete-home (default '<c-u>')
cmd-delete-end (default '<c-k>')