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

Re: Tcsh-like history search



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