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

Re: Zle bug



On Feb 1,  3:41pm, =?iso-8859-1?Q?Thomas_K=F6hler?= wrote:
> On Feb 1, Wez Furlong wrote
> > I am reporting a bug that is present in zsh 3.1.2 and also 3.1.2-zefram3.
> > Here's a demonstration:
> > 
> > % > bindkey  '\e[A'   up-line-or-search
> > % > w
> > At this point I press cursor up
> > % > who
> > This is correct.

> I'd say "no, it's a bug" ;-)

> Looking at the manpages, I found this:
> 
>           up-line-or-search
>           Move  up a line in the buffer, or if already at the
>           top line, search backward in the history for a line
>           beginning with the first word in the buffer.

> Perhaps this can't be done in zsh-3.1.2 as it is now, we may need
> something like "up-line-or-history-beginning-search-backward". ;-)
[much snipping applied]

Hmm. I suppose you are right. I shall be changing to
history-beginning-search-backward (I don't often use multi-line editing).

The "up-line-or-history-beginning-search-backward" would be nice idea though.
__
Wez Furlong                        Undergrad - Electronic Systems Engineering
                                           http://www.twinklestar.demon.co.uk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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