summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Eriksson <andre.eriksson@trioptima.com>2014-03-26 15:05:00 +0900
committerAndre Eriksson <andre.eriksson@trioptima.com>2014-03-26 15:12:39 +0900
commit9650861e56a3404313adc35cbcb1f32a7015b99d (patch)
treefcf1b7a327294b3f7a699fe59a7fae533ecbb177
parentffc17b6b4d55f74b9d3786ba790b7340865e5014 (diff)
downloadzsh-9650861e56a3404313adc35cbcb1f32a7015b99d.tar.gz
zsh-9650861e56a3404313adc35cbcb1f32a7015b99d.tar.bz2
zsh-9650861e56a3404313adc35cbcb1f32a7015b99d.zip
Fix broken reverse-menu-complete keybinding.
Since e537ee9, the reverse-menu-complete keybinding has no longer been properly bound (it was accidentally bound to the delete key). This commit again binds it to shift-tab.
-rw-r--r--lib/key-bindings.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
index 5f3f237c7..9063c6a18 100644
--- a/lib/key-bindings.zsh
+++ b/lib/key-bindings.zsh
@@ -46,8 +46,8 @@ bindkey ' ' magic-space # [Space] - do history exp
bindkey '^[[1;5C' forward-word # [Ctrl-RightArrow] - move forward one word
bindkey '^[[1;5D' backward-word # [Ctrl-LeftArrow] - move backward one word
-if [[ "${terminfo[kdch1]}" != "" ]]; then
- bindkey "${terminfo[kdch1]}" reverse-menu-complete # [Shift-Tab] - move through the completion menu backwards
+if [[ "${terminfo[kcbt]}" != "" ]]; then
+ bindkey "${terminfo[kcbt]}" reverse-menu-complete # [Shift-Tab] - move through the completion menu backwards
fi
bindkey '^?' backward-delete-char # [Backspace] - delete backward