From 0954e318221d037efc7c58869d5c981da6ece856 Mon Sep 17 00:00:00 2001 From: pSox Date: Wed, 28 Mar 2018 11:12:53 +0100 Subject: [PATCH] fixed bindkey issue --- zshrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zshrc b/zshrc index 1dfede4..5d32d66 100755 --- a/zshrc +++ b/zshrc @@ -87,9 +87,6 @@ ZSH_CUSTOM=$(dirname $ZSH)/zsh-custom plugins=( $pre_plugins zsh_reload - zsh-syntax-highlighting - zsh-autosuggestions - zsh-navigation-tools gnu-utils common-aliases colored-man-pages @@ -123,6 +120,9 @@ plugins=( ( which ssh 2>/dev/null >/dev/null ) && plugins+=( ssh-agent ) plugins+=( zsh-completions + zsh-autosuggestions + zsh-navigation-tools + zsh-syntax-highlighting $post_plugins ) @@ -180,8 +180,8 @@ bindkey -- "^[OD" backward-char bindkey -- "^[OC" forward-char bindkey -- "^[OA" up-line-or-history bindkey -- "^[OB" down-line-or-history -#bindkey -M emacs '^P' history-substring-search-up -#bindkey -M emacs '^N' history-substring-search-down +#bindkey -- "^[[1;5A" history-substring-search-up +#bindkey -- "^[[1;5B" history-substring-search-down # cutomize options setopt no_bang_hist