Re: How to use bash 2.01-5 vi-style line editing
On Wed, 5 Nov 1997, Kingsley G. Morse Jr. wrote:
> Has anyone found a way to use vi-style line editing in the 2.01-5 version
> of bash?
> When I do a
> $ set -o vi
> $ <esc>k
> to recall the last command, I just get a "beep" instead of the last
> command. Has anyone found a way to use vi-style line editing in the 2.01-5
> version of bash?
put this in your $HOME/.inputrc:
set editing-mode vi
set keymap vi
Or, if your a real vidiot, put it in /etc/inputrc - the global inputrc for
libreadline. See readline(3readline) and `info readline' for more
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .