From e0de6dd0ef15e4e94bf8193e674a1a4f3cbc22ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erkki=20Sepp=C3=A4l=C3=A4?= Date: Thu, 25 Sep 2014 12:24:01 +0300 Subject: [PATCH] zle: don't override *delete* and *kill* This restores the ability to consecutively delete (ie.) words and have them come back consecutively in the next yank. --- zsh-syntax-highlighting.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 937e426..a1b8bdd 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -139,7 +139,7 @@ _zsh_highlight_bind_widgets() # Override ZLE widgets to make them invoke _zsh_highlight. local cur_widget - for cur_widget in ${${(f)"$(builtin zle -la)"}:#(.*|_*|orig-*|run-help|which-command|beep|yank*)}; do + for cur_widget in ${${(f)"$(builtin zle -la)"}:#(.*|_*|orig-*|run-help|which-command|beep|yank*|*delete*|*kill*)}; do case $widgets[$cur_widget] in # Already rebound event: do nothing.