Skip to content

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

Open
@eval-exec

Description

@eval-exec

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?

Activity

Aloxaf

Aloxaf commented on Jun 9, 2023

@Aloxaf
Owner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @Aloxaf@eval-exec

      Issue actions

        [Q] How to custom the order of completion groups order? · Issue #369 · Aloxaf/fzf-tab