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 (from parent 1:
f28187b
)
Add proper bindings for history-beginning-search-{forward,backward}
author
Frank Terbeck
<ft@grml.org>
Thu, 20 Mar 2008 19:34:58 +0000
(20:34 +0100)
committer
Frank Terbeck
<ft@grml.org>
Thu, 20 Mar 2008 19:34:58 +0000
(20:34 +0100)
debian/changelog
patch
|
blob
|
history
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
e0ce867
..
bb95a8e
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-1,9
+1,14
@@
grml-etc-core (0.3.50) unstable; urgency=low
grml-etc-core (0.3.50) unstable; urgency=low
+ [ Michael Prokop ]
* zshrc: update function git-get-plaindiff() so it works around
the "generating..." bug
* 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
grml-etc-core (0.3.49) unstable; urgency=low
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
9a89178
..
b864606
100644
(file)
--- 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 # <ESC>-
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':
# 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':