[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
information. 

Cheers,


Joost



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: