[ vi ] readline vi mode

Signed-off-by: Unknown <dev@null>
This commit is contained in:
Unknown 2022-05-09 20:10:51 +02:00
parent c3a29f735a
commit a59f19e9cf

View File

@ -68,19 +68,23 @@ set -o vi
ESC
# change to vi edit mode (when set -o vi is set)
k
# in vi edit mode - previous command
# in vi edit mode - go back to 3 previous words
j
# in vi edit mode - next command
0
# in vi edit mode - beginning of the command
R
# in vi edit mode - replace current characters of command
w
# in vi edit mode - next word
2w
# in vi edit mode - next to 2nd word
b
# in vi edit mode - previous word
i
# in vi edit mode - go to insert mode
v
# in vi edit mode - edit current command in vi
man 3 readline
# man page for complete readline mapping
```
##### Run history number (e.g. 53)