From a59f19e9cf1da4669be3f3802f7bb80a509cc3a1 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 9 May 2022 20:10:51 +0200 Subject: [PATCH] [ vi ] readline vi mode Signed-off-by: Unknown --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21c8b62..7a0e4a6 100644 --- a/README.md +++ b/README.md @@ -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)