* Tcsh-like history search
@ 1998-04-06 13:55 Dima Barsky
1998-04-06 20:55 ` Michael Barnes
0 siblings, 1 reply; 2+ messages in thread
From: Dima Barsky @ 1998-04-06 13:55 UTC (permalink / raw)
To: zsh-users
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Tcsh-like history search
1998-04-06 13:55 Tcsh-like history search Dima Barsky
@ 1998-04-06 20:55 ` Michael Barnes
0 siblings, 0 replies; 2+ messages in thread
From: Michael Barnes @ 1998-04-06 20:55 UTC (permalink / raw)
To: Dima Barsky; +Cc: zsh-users
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.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-04-06 21:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-06 13:55 Tcsh-like history search Dima Barsky
1998-04-06 20:55 ` Michael Barnes
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).