mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Remove zsh-history-substring-search for fzf
This commit is contained in:
parent
b59607c147
commit
e854d2b1d5
@ -53,7 +53,6 @@ source "$antigen_src"
|
|||||||
antigen bundle zsh-users/zsh-completions
|
antigen bundle zsh-users/zsh-completions
|
||||||
antigen bundle zsh-users/zsh-autosuggestions
|
antigen bundle zsh-users/zsh-autosuggestions
|
||||||
antigen bundle Tarrasch/zsh-syntax-highlighting
|
antigen bundle Tarrasch/zsh-syntax-highlighting
|
||||||
antigen bundle zsh-users/zsh-history-substring-search
|
|
||||||
antigen bundle mafredri/zsh-async
|
antigen bundle mafredri/zsh-async
|
||||||
|
|
||||||
antigen apply
|
antigen apply
|
||||||
@ -78,17 +77,10 @@ zle -N x-bash-backward-kill-word
|
|||||||
bindkey '^[^[[3~' x-bash-backward-kill-word
|
bindkey '^[^[[3~' x-bash-backward-kill-word
|
||||||
bindkey '^[^[[3^' x-bash-backward-kill-word
|
bindkey '^[^[[3^' x-bash-backward-kill-word
|
||||||
|
|
||||||
bindkey '^[[A' history-substring-search-up
|
bindkey '^[[A' fzf-history-widget
|
||||||
bindkey '^[[B' history-substring-search-down
|
bindkey '^[[B' fzf-history-widget
|
||||||
|
|
||||||
|
|
||||||
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}")
|
|
||||||
ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(history-substring-search-up history-substring-search-down)
|
|
||||||
|
|
||||||
HISTORY_SUBSTRING_SEARCH_FUZZY=true
|
|
||||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
|
|
||||||
HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND='underline'
|
|
||||||
|
|
||||||
typeset -A ZSH_HIGHLIGHT_STYLES
|
typeset -A ZSH_HIGHLIGHT_STYLES
|
||||||
ZSH_HIGHLIGHT_STYLES[default]='fg=12'
|
ZSH_HIGHLIGHT_STYLES[default]='fg=12'
|
||||||
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
|
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
|
||||||
|
Loading…
Reference in New Issue
Block a user