Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tcsh-like history search
- X-seq: zsh-users 1441
- From: Michael Barnes <mibarnes@xxxxxxxxxxxxxxx>
- To: Dima Barsky <D.Barsky@xxxxxxxxxxxxxxx>
- Subject: Re: Tcsh-like history search
- Date: Mon, 6 Apr 1998 16:55:23 -0400 (EDT)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <13608.57067.46439.10085@ukfd-sun10>
Here is a snippet from my .zshrc ...
bindkey -v # this is for vi bindings
bindkey "^K" history-beginning-search-backward # self explanatory
bindkey "^J" history-beginning-search-forward # self explanatory
I found this in the man pages.
Mike
On Mon, 6 Apr 1998, Dima Barsky wrote:
> Hi there,
>
> I'm sorry if this question has been asked before, but I'm new to this
> list, and I could not find an answer in the FAQ.
>
> I wonder if it is possible in zsh to emulate the tcsh's
> history-search-backward and history-search-forward commands. They are
> very similar to zsh history-beginning-search-backward and
> history-beginning-search-forward widgets, but tcsh moves the cursor to
> the end of the line, rather than leaving it in place.
>
> Regards,
> Dima.
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author