diff --git a/Configs/ZSHShell/.zshrc b/Configs/ZSHShell/.zshrc index 7b48d86..756db74 100644 --- a/Configs/ZSHShell/.zshrc +++ b/Configs/ZSHShell/.zshrc @@ -146,4 +146,13 @@ if [ -r "$HOME/.zprofile" ] ; then fi ################################################################################### +################################################################################### +# bind UP and DOWN arrow keys to history substring search +zmodload zsh/terminfo +bindkey "$terminfo[kcuu1]" history-substring-search-up +bindkey "$terminfo[kcud1]" history-substring-search-down +bindkey '^[[A' history-substring-search-up +bindkey '^[[B' history-substring-search-down +################################################################################### + ####################################################################################################################################################