Move zsh-autosuggestions
This commit is contained in:
parent
c58ea7b136
commit
ca65659782
10
init.zsh
10
init.zsh
@ -179,11 +179,6 @@ zle -N sudo-command-line
|
|||||||
bindkey -M vicmd "^f" sudo-command-line
|
bindkey -M vicmd "^f" sudo-command-line
|
||||||
bindkey -M viins "^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
|
# Use vi mode
|
||||||
bindkey -v
|
bindkey -v
|
||||||
# Fast switch of modes
|
# Fast switch of modes
|
||||||
@ -270,6 +265,11 @@ zstyle ':fzf-tab:*' switch-group 'ctrl-h' 'ctrl-l'
|
|||||||
# Toggle selected for all visible entries
|
# Toggle selected for all visible entries
|
||||||
zstyle ':fzf-tab:*' fzf-bindings 'ctrl-a:toggle-all'
|
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
|
# Load user init file
|
||||||
source_user_file 'local'
|
source_user_file 'local'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user