kutsan / zsh-system-clipboard

System clipboard key bindings for Zsh Line Editor with vi mode. It is similar to what `set clipboard=unnamed` does for vim.
GNU General Public License v3.0
140 stars 16 forks source link

Error: No such widget `.zsh-system-clipboard-vicmd-vi-yank' #36

Closed nerd190 closed 3 years ago

nerd190 commented 3 years ago

This looks great! But Im getting error: No such widget .zsh-system-clipboard-vicmd-vi-yank Screenshot_20210327-185540 Thank you!

kutsan commented 3 years ago

Thanks!

What's your zsh version and do you use the latest one? Also, can you be sure that you source the plugin file correctly and re-open your terminal to double-check.

jjclavijo commented 3 years ago

I had the same exact issue, it was in fact due to a conflict with the evil-registers plugin. That plugin trys to overwrite the widgets binded to vi-style editing commands, and relies on the .vi-.... versions of them (which allways exists for builtin widgets and can’t be rebound, according to the docs). Maybe that was not the OP's issue, but it is surely related.

nerd190 commented 3 years ago

correct @jjclavijo I was using evil-registers too! 👍

kutsan commented 3 years ago

I'm marking this as invalid since we can't really do much about the issue you're having. Feel free to create another one if you encounter similar problems in future.