Другой вариант запуска history-search-multi-word
This commit is contained in:
parent
c7b2bbb92f
commit
834a086fbc
@ -42,11 +42,16 @@ zinit wait'1' lucid light-mode depth'1' for \
|
||||
bindkey '^[[B' history-substring-search-down" \
|
||||
zsh-users/zsh-history-substring-search
|
||||
|
||||
[ "$(lsb_release -c -s)" = "orel" ] && ZSH_HISTORY_SEARCH_MULTI_WORD_MODE=1
|
||||
|
||||
zstyle ':history-search-multi-word' page-size "$((LINES/2))"
|
||||
zstyle ':plugin:history-search-multi-word' clear-on-cancel 'yes'
|
||||
if [[ -z ${ZSH_HISTORY_SEARCH_MULTI_WORD_MODE+set} ]]; then
|
||||
zinit wait'1' lucid light-mode depth'1' for \
|
||||
atload"bindkey '^K' history-search-multi-word" \
|
||||
zdharma-continuum/history-search-multi-word
|
||||
else
|
||||
zinit light zdharma-continuum/history-search-multi-word
|
||||
bindkey '^K' history-search-multi-word
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user