Отключен виджет (не работает в Orel)
This commit is contained in:
parent
dd91f10bb4
commit
01f900a450
@ -51,12 +51,12 @@ 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
|
||||
function magic-ctrl-k {
|
||||
if ! (( $#BUFFER )) && [[ "$CONTEXT" == start ]]; then znt-history-widget; fi
|
||||
}
|
||||
zle -N magic-ctrl-k
|
||||
bindkey '^K' magic-ctrl-k
|
||||
#else
|
||||
# function magic-ctrl-k {
|
||||
# if ! (( $#BUFFER )) && [[ "$CONTEXT" == start ]]; then znt-history-widget; fi
|
||||
# }
|
||||
# zle -N magic-ctrl-k
|
||||
# bindkey '^K' magic-ctrl-k
|
||||
#elif [ ${ZSH_HISTORY_SEARCH_MULTI_WORD_MODE} = "1" ]; then
|
||||
# zinit wait'2' lucid light-mode depth'1' for \
|
||||
# atload"bindkey '^K' history-search-multi-word" \
|
||||
|
Loading…
Reference in New Issue
Block a user