fix zsh-history-substring-search
This commit is contained in:
parent
53d847d783
commit
bf2f3952ad
@ -61,9 +61,13 @@ fi
|
|||||||
### End user configuration
|
### End user configuration
|
||||||
|
|
||||||
### hooks/includes
|
### hooks/includes
|
||||||
for plugin in zsh-history-substring-search zsh-autosuggestions \
|
for plugin in zsh-syntax-highlighting zsh-history-substring-search \
|
||||||
zsh-syntax-highlighting; do
|
zsh-autosuggestions; do
|
||||||
if [ -f /usr/share/zsh/plugins/$plugin/${plugin}.zsh ]; then
|
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
|
fi
|
||||||
done
|
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