Bindable Readline Commands Command Line Editing
While the Readline library does not have a full set of
editing functions, it does contain enough to allow simple editing
of the line. The Readline
vi mode behaves as specified in
the POSIX 1003.2 standard.
In order to switch interactively between
editing modes, use the `
set -o emacs' and `
set -o vi'
commands (see The Set Builtin).
The Readline default is
When you enter a line in
vi mode, you are already placed in
`insertion' mode, as if you had typed an `
switches you into `command' mode, where you can edit the text of the
line with the standard
vi movement keys, move to previous
history lines with `
k' and subsequent lines with `