Add 'emacs-forward-word'

This commit adds the 'emacs-forward-word' widget to the list of partial
accept widgets.
This commit is contained in:
Alexander Neumann 2017-05-20 22:00:43 +02:00
parent 14179d869d
commit c83eb7f117
2 changed files with 2 additions and 0 deletions

View file

@ -42,6 +42,7 @@ ZSH_AUTOSUGGEST_EXECUTE_WIDGETS=(
# Widgets that accept the suggestion as far as the cursor moves # Widgets that accept the suggestion as far as the cursor moves
ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=( ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=(
forward-word forward-word
emacs-forward-word
vi-forward-word vi-forward-word
vi-forward-word-end vi-forward-word-end
vi-forward-blank-word vi-forward-blank-word

View file

@ -78,6 +78,7 @@ ZSH_AUTOSUGGEST_EXECUTE_WIDGETS=(
# Widgets that accept the suggestion as far as the cursor moves # Widgets that accept the suggestion as far as the cursor moves
ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=( ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=(
forward-word forward-word
emacs-forward-word
vi-forward-word vi-forward-word
vi-forward-word-end vi-forward-word-end
vi-forward-blank-word vi-forward-blank-word