浏览代码

Make Shift+Tab move backwards in the menu

Tomas Kramar 14 年之前
父节点
当前提交
3e1d5fa316
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lib/key-bindings.zsh

+ 2 - 1
lib/key-bindings.zsh

@@ -20,6 +20,7 @@ bindkey "^[[F"  end-of-line
 bindkey "^[[4~" end-of-line
 bindkey "^[[4~" end-of-line
 bindkey ' ' magic-space    # also do history expansion on space
 bindkey ' ' magic-space    # also do history expansion on space
 
 
+bindkey '^[[Z' reverse-menu-complete
 
 
 # consider emacs keybindings:
 # consider emacs keybindings:
 
 
@@ -38,4 +39,4 @@ bindkey ' ' magic-space    # also do history expansion on space
 #bindkey '^I' complete-word
 #bindkey '^I' complete-word
 ## Fix weird sequence that rxvt produces
 ## Fix weird sequence that rxvt produces
 #bindkey -s '^[[Z' '\t'
 #bindkey -s '^[[Z' '\t'
-#
+#