mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue