From 18dd9ed002bbeaa105a656dbf5e12cbb08be827e Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Wed, 20 Jul 2011 18:52:41 +0200 Subject: [PATCH] zshrc: history-beginning-search with PageUp/PageDown. --- etc/zsh/zshrc | 2 ++ 1 file changed, 2 insertions(+) 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': -- 2.1.4