diff --git a/home/user/.config/zsh/completion b/home/user/.config/zsh/completion index e5bc4a2..66c52b1 100644 --- a/home/user/.config/zsh/completion +++ b/home/user/.config/zsh/completion @@ -1,4 +1,6 @@ + # enable completion features +# vim: ft=zsh fpath=(~/.zfunc $fpath) zmodload zsh/complist @@ -35,9 +37,10 @@ zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f' zstyle ':autocomplete:*' min-input 3 zstyle ':autocomplete:*' delay 0.1 +zstyle -e ':autocomplete:*:*' list-lines 'reply=( $(( LINES / 4 )) )' -bindkey '^N' down-line-or-select +bindkey '^N' menu-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 @@ -45,4 +48,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 \ No newline at end of file