From: Frank Terbeck Date: Thu, 20 Mar 2008 19:34:58 +0000 (+0100) Subject: Add proper bindings for history-beginning-search-{forward,backward} X-Git-Tag: 0.3.50~1 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=bd6fb996af3e45ef0d3b403965027dc2d708d5ff;hp=f28187bad5e9fd725c270cb1753e0619b63f7351;p=grml-etc-core.git Add proper bindings for history-beginning-search-{forward,backward} --- diff --git a/debian/changelog b/debian/changelog index e0ce867..bb95a8e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,14 @@ grml-etc-core (0.3.50) unstable; urgency=low + [ Michael Prokop ] * zshrc: update function git-get-plaindiff() so it works around the "generating..." bug - -- Michael Prokop Sat, 08 Mar 2008 14:13:50 +0100 + [ Frank Terbeck ] + * zshrc: add new bindings: '^xP' and '^xp' for + history-beginning-search-{forward,backward} + + -- Frank Terbeck Thu, 20 Mar 2008 20:33:49 +0100 grml-etc-core (0.3.49) unstable; urgency=low diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 9a89178..b864606 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -446,7 +446,9 @@ bindkey '\e[1~' beginning-of-line # home bindkey '\e[4~' end-of-line # end bindkey '\e[A' up-line-or-search # cursor up bindkey '\e[B' down-line-or-search # - -bindkey '^x' history-beginning-search-backward # alternative ways of searching the shell history + +bindkey '^xp' history-beginning-search-backward +bindkey '^xP' history-beginning-search-forward # 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':