-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No such widget `.manydots-magic.orig.backward-delete-char' #2
Comments
Looks like you're loading the plugin via zplug, Adding
|
I'm not using zplug. Is there anything I can do in manydots-magic? |
Good question. The error message that crept up was probably occurring due to the order of how packages are loaded. The
I assume that this was the culprit. |
@mavam I wasn't enabling url-quote-magic at the time. |
I fixed the error with the next: https://unix.stackexchange.com/questions/368231/going-over-start-of-insert-action-in-z-shell-vi-mode |
I've solved this problem for myself by loading it after zsh-autosuggestions:
EDIT: I actually think this may be in conflict with fast-syntax-highlighting, not zsh-autosuggestions. |
It looks like the recent zsh update to 5.8.1 has broken this for me too. Every time I press backspace, I get the same error and cannot delete text. I tried reverting to zsh 5.8 and backspace works perfectly again. I'm not using |
You need to respawn the shell after upgrading zsh as long as you use autoload. It's not specific to this widget. |
@knu Sorry I'm not entirely sure what you mean. Do you mean if I open a new zsh shell, then it should work fine? If so, this doesn't work for me. I am using the autoload method. |
I'm also using zim, and I thought I should |
@protist Do you happen to have zsh-autosuggestions installed? I confirmed that zsh-autosuggestions overwrites LASTWIDGET that manydots-magit uses to know if backspace should delete the last |
I think I'll loosen the conditions so that it only checks if LBUFFER ends with |
@knu Yes, that is exactly it! If I disable zsh-autosuggestions, manydots-magic's backspace functionally does indeed work. Thanks for the detective work! |
You guys might take a look at this hack that I did to solve the problem for me: |
Thank @twang817. I can confirm that with this fork I can both use zsh-autosuggestions and manydots-magic's backspace still works. |
* Patch to fix [issue](knu/zsh-manydots-magic#2 (comment))
Just as an FYI, with your fork I get this instead:
|
I am getting this issue after using zplug to load your code whenever I hit backspace.
No such widget `.manydots-magic.orig.backward-delete-char'
My config can be found here https://github.com/Jomik/dotfiles/blob/c92f8f78dabcb47bd275c90345907be3e26131db/home/zshrc
EDIT: Refer to actual commit and not master, for later usage if needed.
The text was updated successfully, but these errors were encountered: