Closed topmask closed 2 years ago
#source ~/.zinit/bin/zinit.zsh
source ~/.zinit/bin/zi.zsh
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
export PATH=$HOME/bin:/usr/local/bin:$PATH
export LANG=en_US.UTF-8
zinit ice depth"1"
zinit light romkatv/powerlevel10k
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# ripgrep
zinit ice as"program" from"gh-r" mv"ripgrep* -> rg" pick"rg/rg"
zinit light BurntSushi/ripgrep
# bat
zinit ice as"program" from"gh-r" mv"bat* -> bat" pick"bat/bat"
zinit light sharkdp/bat
# fd
zinit ice as"program" from"gh-r" mv"fd* -> fd" pick"fd/fd"
zinit light sharkdp/fd
#zinit ice lucid wait='0' atinit='zpcompinit'
#zinit light zdharma-continuum/fast-syntax-highlighting
zinit light zsh-users/zsh-syntax-highlighting
#zinit ice lucid wait="0" atload='_zsh_autosuggest_start'
zinit light zsh-users/zsh-autosuggestions
zinit ice lucid wait='0'
zinit light zsh-users/zsh-completions
zinit light zdharma/history-search-multi-word
zinit ice lucid wait='0'
zinit light djui/alias-tips
zinit snippet OMZP::git
zinit snippet OMZP::wp-cli
zinit snippet OMZP::tmux
zinit snippet OMZ::lib/completion.zsh
zinit snippet OMZ::lib/history.zsh
zinit snippet OMZ::lib/key-bindings.zsh
zinit snippet OMZ::lib/theme-and-appearance.zsh
zinit snippet OMZ::plugins/extract/extract.plugin.zsh
zinit snippet OMZ::lib/history.zsh
zinit snippet OMZ::plugins/command-not-found/command-not-found.plugin.zsh
zinit snippet OMZ::plugins/autojump/autojump.plugin.zsh
#########################################################################
# bind UP and DOWN arrow keys
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
#bindkey "$terminfo[kcuu1]" history-substring-search-up
#bindkey "$terminfo[kcud1]" history-substring-search-down
Please move zsh-syntax-highlighting to the end of your zshrc (why) and see if the issue is still reproducable.
Move to the end. Same problem
history-search-multi-word no zsh-history-substring-search
problem solved Mainly because the plugin is not installed
zsh-syntax-highlighting: unhandled ZLE widget 'history-substring-search-down' zsh-syntax-highlighting: (This is sometimes caused by doing
bindkey <keys> history-substring-search-down
without creating the 'history-substring-search-down' widget withzle -N
orzle -C
.) zsh-syntax-highlighting: unhandled ZLE widget 'history-substring-search-up' zsh-syntax-highlighting: (This is sometimes caused by doingbindkey <keys> history-substring-search-up
without creating the 'history-substring-search-up' widget withzle -N
orzle -C
.)