configure fzf-tab
This commit is contained in:
parent
3e7fae06ae
commit
88fb6cd713
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
for f in \
|
for f in \
|
||||||
"$ZDOTDIR"/configs/* \
|
"$ZDOTDIR"/configs/* \
|
||||||
|
"$ZDOTDIR"/plugins/*/*.plugin.zsh \
|
||||||
/usr/share/zsh/plugins/*/*.plugin.zsh \
|
/usr/share/zsh/plugins/*/*.plugin.zsh \
|
||||||
/usr/share/fzf/*.zsh
|
/usr/share/fzf/*.zsh
|
||||||
do
|
do
|
||||||
|
|
|
@ -12,7 +12,17 @@ autoload -Uz add-zsh-hook
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
autoload -Uz edit-command-line
|
autoload -Uz edit-command-line
|
||||||
|
|
||||||
zstyle ':completion:*' menu select matcher-list 'm:{a-z}={A-Za-z}'
|
|
||||||
|
zstyle ':completion:*:git-checkout:*' sort false
|
||||||
|
zstyle ':completion:*:descriptions' format '[%d]'
|
||||||
|
zstyle ':completion:*' list-colors "${(s/:/)LS_COLORS}"
|
||||||
|
zstyle ':completion:*' menu no
|
||||||
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
||||||
|
|
||||||
|
zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup
|
||||||
|
zstyle ':fzf-tab:*' switch-group '<' '>'
|
||||||
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls -lhpANX --color=auto --group-directories-first $realpath'
|
||||||
|
|
||||||
zmodload zsh/complist
|
zmodload zsh/complist
|
||||||
compinit
|
compinit
|
||||||
_comp_options+=(globdots)
|
_comp_options+=(globdots)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c7fb028ec0bbc1056c51508602dbd61b0f475ac3
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule ".config/zsh/plugins/fzf-tab"]
|
||||||
|
path = .config/zsh/plugins/fzf-tab
|
||||||
|
url = https://github.com/Aloxaf/fzf-tab
|
Loading…
Reference in New Issue