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:
parent
3dc5741900
commit
e0de6dd0ef
@ -139,7 +139,7 @@ _zsh_highlight_bind_widgets()
|
|||||||
|
|
||||||
# Override ZLE widgets to make them invoke _zsh_highlight.
|
# Override ZLE widgets to make them invoke _zsh_highlight.
|
||||||
local cur_widget
|
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
|
case $widgets[$cur_widget] in
|
||||||
|
|
||||||
# Already rebound event: do nothing.
|
# Already rebound event: do nothing.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user