configure fzf-tab
This commit is contained in:
parent
bcfff4186e
commit
646b8d33af
4 changed files with 16 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
for f in \
|
||||
"$ZDOTDIR"/configs/* \
|
||||
"$ZDOTDIR"/plugins/*/*.plugin.zsh \
|
||||
/usr/share/zsh/plugins/*/*.plugin.zsh \
|
||||
/usr/share/fzf/*.zsh
|
||||
do
|
||||
|
|
|
@ -12,7 +12,17 @@ autoload -Uz add-zsh-hook
|
|||
autoload -Uz compinit
|
||||
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
|
||||
compinit
|
||||
_comp_options+=(globdots)
|
||||
|
|
1
.config/zsh/plugins/fzf-tab
Submodule
1
.config/zsh/plugins/fzf-tab
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c7fb028ec0bbc1056c51508602dbd61b0f475ac3
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -0,0 +1,3 @@
|
|||
[submodule ".config/zsh/plugins/fzf-tab"]
|
||||
path = .config/zsh/plugins/fzf-tab
|
||||
url = https://github.com/Aloxaf/fzf-tab
|
Loading…
Add table
Reference in a new issue