1
0
Fork 0

configure fzf-tab

This commit is contained in:
Luca Bilke 2024-06-10 18:02:25 +02:00
parent 3e7fae06ae
commit 88fb6cd713
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
4 changed files with 16 additions and 1 deletions

View File

@ -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

View File

@ -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

3
.gitmodules vendored
View File

@ -0,0 +1,3 @@
[submodule ".config/zsh/plugins/fzf-tab"]
path = .config/zsh/plugins/fzf-tab
url = https://github.com/Aloxaf/fzf-tab