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'