From: Michael Barnes <mibarnes@mail.vth.vt.edu>
To: Dima Barsky <D.Barsky@ee.surrey.ac.uk>
Cc: zsh-users@math.gatech.edu
Subject: Re: Tcsh-like history search
Date: Mon, 6 Apr 1998 16:55:23 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.3.95.980406165215.29120A-100000@mail.vth.vt.edu> (raw)
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.
>
prev parent reply other threads:[~1998-04-06 21:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-06 13:55 Dima Barsky
1998-04-06 20:55 ` Michael Barnes [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.95.980406165215.29120A-100000@mail.vth.vt.edu \
--to=mibarnes@mail.vth.vt.edu \
--cc=D.Barsky@ee.surrey.ac.uk \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).