Allow disabling of automatic widget re-binding

Addresses github #411
This commit is contained in:
Eric Freese
2019-04-10 11:41:20 -06:00
parent db290c518b
commit b9fee8a324
4 changed files with 45 additions and 14 deletions

View File

@@ -69,6 +69,10 @@ This can be useful when pasting large amount of text in the terminal, to avoid t
As of `v0.4.0`, suggestions can be fetched asynchronously. To enable this behavior, set the `ZSH_AUTOSUGGEST_USE_ASYNC` variable (it can be set to anything).
### Disabling automatic widget re-binding
Set `ZSH_AUTOSUGGEST_MANUAL_REBIND` (it can be set to anything) to disable automatic widget re-binding on each precmd. This can be a big boost to performance, but you'll need to handle re-binding yourself if any of the widget lists change or if you or another plugin wrap any of the autosuggest widgets. To re-bind widgets, run `_zsh_autosuggest_bind_widgets`.
### Key Bindings