From 0c940e70f2eb931c856875bcb15f47b35f37cbec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20H=C3=B6ltje?= Date: Sat, 5 Nov 2016 01:40:14 -0400 Subject: [PATCH] Don't bind any zle-* methods It seems like all the zle-* methods are special and shouldn't be monkeyed with. Specifically `zle-isearch-update` and friends. Binding that widget caused `history-incremental-pattern-search` to stop working. Fixes zsh-users/zsh-syntax-highlighting#387 --- src/bind.zsh | 2 +- zsh-autosuggestions.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bind.zsh b/src/bind.zsh index 49763e8..9729873 100644 --- a/src/bind.zsh +++ b/src/bind.zsh @@ -53,7 +53,7 @@ _zsh_autosuggest_bind_widgets() { ignore_widgets=( .\* _\* - zle-line-\* + zle-\* autosuggest-\* $ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\* $ZSH_AUTOSUGGEST_IGNORE_WIDGETS diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index ed631c3..8bfe6db 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -223,7 +223,7 @@ _zsh_autosuggest_bind_widgets() { ignore_widgets=( .\* _\* - zle-line-\* + zle-\* autosuggest-\* $ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\* $ZSH_AUTOSUGGEST_IGNORE_WIDGETS