Improve Zsh completions
Don't complete directory stack, add keybind for filtering completions.
This commit is contained in:
parent
0c933d0a6b
commit
59c208db6c
@ -22,6 +22,7 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|
|
||||
zstyle ':completion:*' file-sort modification # access didn't work.
|
||||
zstyle ':completion:*' sort false # Needed for file-sort.
|
||||
zstyle ':completion:*:processes' command "ps -u $USER -o pid,user,comm,cmd -w -w"
|
||||
zstyle ':completion:*' complete-options true
|
||||
|
||||
compdef '_dispatch git git' config # git completions for config.
|
||||
|
||||
|
@ -78,3 +78,6 @@ bindkey '^q' push-line-or-edit
|
||||
autoload edit-command-line; zle -N edit-command-line
|
||||
bindkey '^[e' edit-command-line
|
||||
bindkey '^x^e' edit-command-line
|
||||
|
||||
# Interactive mode in completions (filter)
|
||||
bindkey -M menuselect '^xf' vi-insert
|
||||
|
Loading…
x
Reference in New Issue
Block a user