Add suggestion "strategy" concept with default strategy

This commit is contained in:
Eric Freese
2016-03-01 12:45:55 -07:00
parent 9df362f783
commit 83f78d0760
5 changed files with 51 additions and 16 deletions

View File

@@ -11,6 +11,8 @@ ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8'
# Prefix to use when saving original versions of bound widgets
ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX=autosuggest-orig-
ZSH_AUTOSUGGEST_STRATEGY=default
# Widgets that clear the suggestion
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=(
history-search-forward