From 01f900a450314ed52ce0ea5f7131722751c15f2e Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Fri, 23 Dec 2022 09:58:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B2=D0=B8=D0=B4=D0=B6=D0=B5=D1=82=20(=D0=BD=D0=B5?= =?UTF-8?q?=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D0=B5=D1=82=20=D0=B2=20?= =?UTF-8?q?Orel)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 82-completion.zsh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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" \