Add proper bindings for history-beginning-search-{forward,backward}
authorFrank Terbeck <ft@grml.org>
Thu, 20 Mar 2008 19:34:58 +0000 (20:34 +0100)
committerFrank Terbeck <ft@grml.org>
Thu, 20 Mar 2008 19:34:58 +0000 (20:34 +0100)
debian/changelog
etc/zsh/zshrc

index e0ce867..bb95a8e 100644 (file)
@@ -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 <mika@grml.org>  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 <ft@grml.org>  Thu, 20 Mar 2008 20:33:49 +0100
 
 grml-etc-core (0.3.49) unstable; urgency=low
 
index 9a89178..b864606 100644 (file)
@@ -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     # <ESC>-
-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':