You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I figured out this warning message is caused by doing bindkey <keys> reverse-yank-pop without creating the 'reverse-yank-pop' widget with zle -N or zle -C.), it can be fixed by add the following line:
I saw zsh-edit-precmd() will handle zle -N reverse-yank-pop .edit.visual-yank,
but it may must be executed before the plugin fast-syntax-highlighting is loaded.
See marlonrichert#24.
I don't know if this is the correct fix but it get rid of the error
message and I don't use reverse-yank-pop anyways so all good.
Describe the bug
When enable plugins zsh-edit and fast-syntax-highlighting together, fast-syntax-highlight will display a warning about
reverse-yank-pop
:I figured out this warning message is caused by doing
bindkey <keys> reverse-yank-pop
without creating the 'reverse-yank-pop' widget withzle -N
orzle -C
.), it can be fixed by add the following line:zsh-edit/functions/zsh-edit
Lines 108 to 109 in 9eb2869
# File: https://github.com/marlonrichert/zsh-edit/blob/9eb286982f96f03371488e910e42afb23802bdfd/functions/zsh-edit#L108-L109 bindkey -M emacs '^[/' redo \ '^[Y' reverse-yank-pop + zle -N reverse-yank-pop .edit.visual-yank
I saw
zsh-edit-precmd()
will handlezle -N reverse-yank-pop .edit.visual-yank
,but it may must be executed before the plugin fast-syntax-highlighting is loaded.
Steps To Reproduce
Just install these two plugins with Oh My Zsh:
Expected behavior
No warning message.
Observed behavior
Click to expand
Environment:
Additional context
None
The text was updated successfully, but these errors were encountered: