Add an autosuggest widget: autosuggest-execute.

This commit is contained in:
Kordan Ou 2016-02-20 21:52:21 +08:00 committed by Eric Freese
commit aa597eea6d
5 changed files with 42 additions and 4 deletions

View file

@ -32,6 +32,10 @@ ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(
vi-end-of-line
)
# Widgets that accept the entire suggestion and execute it
ZSH_AUTOSUGGEST_EXECUTE_WIDGETS=(
)
# Widgets that accept the suggestion as far as the cursor moves
ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=(
forward-word