Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: vi bindings



On Sun, Dec 28, 2008 at 03:59:57AM +0100, Ludvig Ericson wrote:
> Hey,
>
> I like using zsh and all, but there's one itch I really need to scratch: 
> the vi bindings, attainable by "set -o vi".
>
> I'd like it to work like bash's version pretty much. I don't see the  
> reason for disabling ^R for example, or ^A, or ^E.

rebind the emacs keys you expected:

bindkey -v 
bindkey '^a' beginning-of-line
...

> 1. Has anyone made zsh vi mode like bash's?
> 2. How do I make zsh vi mode like bash's?

I never used bash for a while. according to me: what's really missing
in the zsh vi mode is a way to search for a pattern in the current line.

regards



Messages sorted by: Reverse Date, Date, Thread, Author