From ca656597821ed0a5489bd9e63df257dbea75f4f4 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 3 Nov 2024 11:19:41 -0800 Subject: [PATCH] Move zsh-autosuggestions --- init.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init.zsh b/init.zsh index 8cc53ef..37eb0b2 100644 --- a/init.zsh +++ b/init.zsh @@ -179,11 +179,6 @@ zle -N sudo-command-line bindkey -M vicmd "^f" sudo-command-line bindkey -M viins "^f" sudo-command-line -# Autosuggestions -load_plugin zsh-autosuggestions -ZSH_AUTOSUGGEST_STRATEGY=(history completion) -bindkey '^ ' autosuggest-accept - # Use vi mode bindkey -v # Fast switch of modes @@ -270,6 +265,11 @@ zstyle ':fzf-tab:*' switch-group 'ctrl-h' 'ctrl-l' # Toggle selected for all visible entries zstyle ':fzf-tab:*' fzf-bindings 'ctrl-a:toggle-all' +# Autosuggestions +load_plugin zsh-autosuggestions +ZSH_AUTOSUGGEST_STRATEGY=(history completion) +bindkey '^ ' autosuggest-accept + # Load user init file source_user_file 'local'