From c83eb7f117fcbe03f138c55cf84a7226673987e1 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 20 May 2017 22:00:43 +0200 Subject: [PATCH] Add 'emacs-forward-word' This commit adds the 'emacs-forward-word' widget to the list of partial accept widgets. --- src/config.zsh | 1 + zsh-autosuggestions.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/src/config.zsh b/src/config.zsh index c7fc55a..ba694c0 100644 --- a/src/config.zsh +++ b/src/config.zsh @@ -42,6 +42,7 @@ ZSH_AUTOSUGGEST_EXECUTE_WIDGETS=( # Widgets that accept the suggestion as far as the cursor moves ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=( forward-word + emacs-forward-word vi-forward-word vi-forward-word-end vi-forward-blank-word diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index 0d389ec..9ea5960 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -78,6 +78,7 @@ ZSH_AUTOSUGGEST_EXECUTE_WIDGETS=( # Widgets that accept the suggestion as far as the cursor moves ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=( forward-word + emacs-forward-word vi-forward-word vi-forward-word-end vi-forward-blank-word