Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bash-like PgUp/PdDown reverse search?
- X-seq: zsh-users 11796
- From: Peter Stephenson <pws@xxxxxxx>
- To: "zsh users" <zsh-users@xxxxxxxxxx>
- Subject: Re: Bash-like PgUp/PdDown reverse search?
- Date: Fri, 24 Aug 2007 18:06:41 +0100
- In-reply-to: <2d460de70708241001t59382ae6j3dc201de7d3ca899@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70708241001t59382ae6j3dc201de7d3ca899@xxxxxxxxxxxxxx>
"Richard Hartmann" wrote:
> I have been unable to make PgUp / PgDown act like Bash's
> reverse search. I.e., you enter some string and then press
> PgUp / PgDown to search for commands that start with this
> string.
bindkey '^[[5~' history-beginning-search-backward
bindkey '^[[6~' history-beginning-search-forward
Use "read" with no arguments to verify that's what your PageUp and
PageDown are sending; hit ^C to exit.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author