zsh autocomplete

This commit is contained in:
thek4n 2024-12-12 20:51:44 +03:00
parent a1e01875de
commit a81b4ce279

View File

@ -34,9 +34,10 @@ zstyle ':completion:*:messages' format ' %F{purple} -- %d --%f'
zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f'
zstyle ':autocomplete:*' min-input 3
zstyle ':autocomplete:*' delay 0.3
zstyle ':autocomplete:*' delay 0.1
bindkey '^N' down-line-or-select
bindkey -M menuselect '^h' vi-backward-char
bindkey -M menuselect '^k' vi-up-line-or-history
bindkey -M menuselect '^j' vi-down-line-or-history
@ -44,4 +45,4 @@ bindkey -M menuselect '^l' vi-forward-char
bindkey -M menuselect '^e' undo
bindkey -M menuselect '^[' cancel
bindkey -M menuselect '^M' check-command
bindkey -M menuselect '^I' accept-and-infer-next-history
bindkey -M menuselect '^I' accept-and-infer-next-history