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.
This commit is contained in:
Erkki Seppälä 2014-09-25 12:24:01 +03:00
parent 3dc5741900
commit e0de6dd0ef

View File

@ -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.