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

Re: Bash-like PgUp/PdDown reverse search?



"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