zsh completions
This commit is contained in:
parent
a81b4ce279
commit
c25c6bf266
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
# enable completion features
|
# enable completion features
|
||||||
|
# vim: ft=zsh
|
||||||
fpath=(~/.zfunc $fpath)
|
fpath=(~/.zfunc $fpath)
|
||||||
zmodload zsh/complist
|
zmodload zsh/complist
|
||||||
|
|
||||||
@ -35,9 +37,10 @@ zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f'
|
|||||||
|
|
||||||
zstyle ':autocomplete:*' min-input 3
|
zstyle ':autocomplete:*' min-input 3
|
||||||
zstyle ':autocomplete:*' delay 0.1
|
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 '^h' vi-backward-char
|
||||||
bindkey -M menuselect '^k' vi-up-line-or-history
|
bindkey -M menuselect '^k' vi-up-line-or-history
|
||||||
bindkey -M menuselect '^j' vi-down-line-or-history
|
bindkey -M menuselect '^j' vi-down-line-or-history
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user