aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zshrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/zshrc b/zshrc
index 5697f04..2ad7d9c 100644
--- a/zshrc
+++ b/zshrc
@@ -139,10 +139,6 @@ zstyle ':completion:*:(ssh|scp|rsync):*:hosts-host' ignored-patterns '*(.|:)*' l
zstyle ':completion:*:(ssh|scp|rsync):*:hosts-domain' ignored-patterns '<->.<->.<->.<->' '^[-[:alnum:]]##(.[-[:alnum:]]##)##' '*@*'
zstyle ':completion:*:(ssh|scp|rsync):*:hosts-ipaddr' ignored-patterns '^(<->.<->.<->.<->|(|::)([[:xdigit:].]##:(#c,2))##(|%*))' '127.0.0.<->' '255.255.255.255' '::1' 'fe80::*'
-# Bind Shift + Tab to go to the previous menu item.
-# kcbt might not be defined in all terminals
-[[ -n "$terminfo[kcbt]" ]] && bindkey -M emacs "$terminfo[kcbt]" reverse-menu-complete
-
#
# Terminal. Adapted from the prezto terminal module.
#
@@ -272,6 +268,10 @@ esac
# Always use Emacs keybindings (never consider $EDITOR)
bindkey -e
+# Bind Shift + Tab to go to the previous menu item.
+# kcbt might not be defined in all terminals
+[[ -n "$terminfo[kcbt]" ]] && bindkey -M emacs "$terminfo[kcbt]" reverse-menu-complete
+
# Allow command line editing in an external editor.
autoload -Uz edit-command-line
zle -N edit-command-line