Move zsh-autosuggestions

This commit is contained in:
Alexander Rosenberg 2024-11-03 11:19:41 -08:00
parent c58ea7b136
commit ca65659782
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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'