Turn on highlighting for zsh-history-substring-search
This commit is contained in:
parent
407391880b
commit
7aec827be1
|
@ -67,9 +67,10 @@ if command -v antibody > /dev/null; then
|
||||||
# robbyrussell/oh-my-zsh path:plugins/history-substring-search
|
# robbyrussell/oh-my-zsh path:plugins/history-substring-search
|
||||||
${depends_on_fzf}
|
${depends_on_fzf}
|
||||||
zsh-users/zsh-autosuggestions
|
zsh-users/zsh-autosuggestions
|
||||||
zsh-users/zsh-history-substring-search
|
|
||||||
mafredri/zsh-async
|
mafredri/zsh-async
|
||||||
zsh-users/zsh-syntax-highlighting
|
zsh-users/zsh-syntax-highlighting
|
||||||
|
# Must come after zsh-syntax-highlighting
|
||||||
|
zsh-users/zsh-history-substring-search
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
|
@ -45,6 +45,8 @@ function zle-line-finish () {
|
||||||
}
|
}
|
||||||
zle -N zle-line-init
|
zle -N zle-line-init
|
||||||
zle -N zle-line-finish
|
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;5A' history-substring-search-up
|
||||||
bindkey '^[[1;5B' history-substring-search-down
|
bindkey '^[[1;5B' history-substring-search-down
|
||||||
|
|
Loading…
Reference in New Issue
Block a user