zshrc: history-beginning-search with PageUp/PageDown.
authorBernhard Tittelbach <bernhard@tittelbach.org>
Wed, 20 Jul 2011 16:52:41 +0000 (18:52 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 21 Jul 2011 09:46:07 +0000 (11:46 +0200)
etc/zsh/zshrc

index 2e7e65a..628ab25 100644 (file)
@@ -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':