Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eval-exec opened this issue May 18, 2023 · 1 comment
Open

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

eval-exec opened this issue May 18, 2023 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@eval-exec
Copy link

eval-exec commented May 18, 2023

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?

@eval-exec eval-exec added the question Further information is requested label May 18, 2023
@Aloxaf Aloxaf added the enhancement New feature or request label Jun 9, 2023
@Aloxaf
Copy link
Owner

Aloxaf commented Jun 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants