From: Bernhard Tittelbach Date: Wed, 20 Jul 2011 16:52:41 +0000 (+0200) Subject: zshrc: history-beginning-search with PageUp/PageDown. X-Git-Tag: v0.4.00~19 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=18dd9ed002bbeaa105a656dbf5e12cbb08be827e;p=grml-etc-core.git zshrc: history-beginning-search with PageUp/PageDown. --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 2e7e65a..628ab25 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -576,6 +576,8 @@ bindkey "3~" delete-word bindkey '^xp' history-beginning-search-backward bindkey '^xP' history-beginning-search-forward +bindkey "\e[5~" history-beginning-search-backward #PageUp +bindkey "\e[6~" history-beginning-search-forward #PageDown # bindkey -s '^L' "|less\n" # ctrl-L pipes to less # bindkey -s '^B' " &\n" # ctrl-B runs it in the background # if terminal type is set to 'rxvt':