-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Can be zsh-autosuggestions suppressed for one command? #193
Comments
Hello again, https://github.com/psprint/zconvey/blob/master/feeder/feeder.c#L15-L25 It works slow because of autosuggestions, and say "artifacts" of suggested text are visible during sending of command. So again, could something like |
This definitely shouldn't be happening. It would be helpful if you can isolate this problem. Does it happen with no other plugins loaded? What version of z-asug are you using? What version of zsh? etc.
Would it solve your problem to add the name of the plugin widget that assigns to % function my-widget() { BUFFER="hello world" }
% zle -N my-widget
% bindkey '^I' my-widget
% ZSH_AUTOSUGGEST_CLEAR_WIDGETS=($ZSH_AUTOSUGGEST_CLEAR_WIDGETS my-widget) |
@psprint I'm not sure, but do you think https://github.com/zsh-users/zsh/blob/master/Functions/Zle/bracketed-paste-magic could help? |
After working with Zshelldoc and using
So the issue can be closed, I think. Or maybe it would be useful to mute |
I have a plugin that assigns to BUFFER. Text appears at command line, and zsh-autosuggestions quickly proposes a continuation. Can I suppress this? I put into BUFFER a complete command that doesn't need continuation, seeing the propositions makes it harder to read the command.
PS. Also, when I tried to follow the command assigned to BUFFER with "#" hoping that comment context will stop zsh-autosuggestion, what happened is:
I.e. a suggestion including whole considered text appeared after "#"
It would be really great to be able to set ZSH_AUTOSUGGESTIONS_SKIP=1 and have clean command line for one entry, otherwise reading the command is a pain :|
The text was updated successfully, but these errors were encountered: