fix zsh-history-substring-search
This commit is contained in:
parent
53d847d783
commit
bf2f3952ad
@ -61,9 +61,13 @@ fi
|
||||
### End user configuration
|
||||
|
||||
### hooks/includes
|
||||
for plugin in zsh-history-substring-search zsh-autosuggestions \
|
||||
zsh-syntax-highlighting; do
|
||||
for plugin in zsh-syntax-highlighting zsh-history-substring-search \
|
||||
zsh-autosuggestions; do
|
||||
if [ -f /usr/share/zsh/plugins/$plugin/${plugin}.zsh ]; then
|
||||
. /usr/share/zsh/plugins/$plugin/${plugin}.zsh
|
||||
source /usr/share/zsh/plugins/$plugin/${plugin}.zsh
|
||||
fi
|
||||
done
|
||||
bindkey '^[[A' history-substring-search-up
|
||||
bindkey '^[[B' history-substring-search-down
|
||||
bindkey -M vicmd 'k' history-substring-search-up
|
||||
bindkey -M vicmd 'j' history-substring-search-down
|
||||
|
Loading…
Reference in New Issue
Block a user