Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
3.28k stars 94 forks source link

[Q] How to custom the order of completion groups order? #369

Open eval-exec opened 1 year ago

eval-exec commented 1 year ago

Describe your question

My fzf-tab related config is :

  zstyle ':completion:*' sort false
        zstyle ':completion:*:descriptions' format '[%d]'
        zstyle ':fzf-tab:*' prefix ' '

        zstyle ':fzf-tab:*' switch-group ',' '.'

I'm working in a git repo. And I execute git rebase -i <tab>, fzf-tab show this: image I want [recent commit object name] group can display firstly after I execute git rebase -i <tab>: image

How can I show [recent commit object name] group display in first order?

Aloxaf commented 1 year ago

zstyle ':completion:*:complete:git-rebase:*' group-order 'commits' should work in compsys. However, fzf-tab doens't support it right now.