zsh-autosuggestions icon indicating copy to clipboard operation
zsh-autosuggestions copied to clipboard

Missing manual? ie. what is the key binding for autosuggest-clear?

Open Trikenstein opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I am looking for deleting an suggestion which is no longer relevant. For example I a tem file has been deleted. A suggestion on a command using that deleted file is no longer necessary.

The Configuration section pf the README mentions

You may want to override the default global config variables. Default values of these variables can be found here

However it is unclear how to activate this function. What is ZSH_AUTOSUGGEST_CLEAR_WIDGETS ? And how to run it?

Describe the solution you'd like

Add a user manual to show more details to the README.

Describe alternatives you've considered

Add documentation directly in the config.zsh to give more info on how to use the widgets.

Additional context

zsh --version
zsh 5.8 (x86_64-ubuntu-linux-gnu)

Trikenstein avatar May 25 '21 23:05 Trikenstein

I am looking for deleting an suggestion which is no longer relevant. For example I a tem file has been deleted. A suggestion on a command using that deleted file is no longer necessary.

It sounds like you're looking to modify your zsh history. This plugin gives suggestions from history by default. You can modify your history by editing the file printed by echo $HISTFILE

ericfreese avatar Aug 23 '21 23:08 ericfreese