projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9a325
)
zshrc: history-beginning-search with PageUp/PageDown.
author
Bernhard Tittelbach
<bernhard@tittelbach.org>
Wed, 20 Jul 2011 16:52:41 +0000
(18:52 +0200)
committer
Michael Prokop
<mika@grml.org>
Thu, 21 Jul 2011 09:46:07 +0000
(11:46 +0200)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
2e7e65a
..
628ab25
100644
(file)
--- 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':