diff --git a/82-completion.zsh b/82-completion.zsh index 239b989..6741024 100644 --- a/82-completion.zsh +++ b/82-completion.zsh @@ -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" \