1
0
Fork 0

Turn on highlighting for zsh-history-substring-search

This commit is contained in:
tastytea 2022-03-23 23:41:37 +01:00
parent 407391880b
commit 7aec827be1
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 4 additions and 1 deletions

View File

@ -67,9 +67,10 @@ if command -v antibody > /dev/null; then
# robbyrussell/oh-my-zsh path:plugins/history-substring-search
${depends_on_fzf}
zsh-users/zsh-autosuggestions
zsh-users/zsh-history-substring-search
mafredri/zsh-async
zsh-users/zsh-syntax-highlighting
# Must come after zsh-syntax-highlighting
zsh-users/zsh-history-substring-search
EOF
fi
else

View File

@ -45,6 +45,8 @@ function zle-line-finish () {
}
zle -N zle-line-init
zle -N zle-line-finish
zle -N history-substring-search-up
zle -N history-substring-search-down
bindkey '^[[1;5A' history-substring-search-up
bindkey '^[[1;5B' history-substring-search-down