Skip to content

feat(sort): add history sort mode and clarify sort semantics#1003

Open
lalvarezt wants to merge 5 commits into
alexpasmantier:mainfrom
lalvarezt:prefix-config-expose
Open

feat(sort): add history sort mode and clarify sort semantics#1003
lalvarezt wants to merge 5 commits into
alexpasmantier:mainfrom
lalvarezt:prefix-config-expose

Conversation

@lalvarezt
Copy link
Copy Markdown
Contributor

📺 PR Description

Adds sort=default|history|source for channels and --sort for CLI.

history is a new addition: it keeps fuzzy scoring but preserves source order for ties, which fits shell history and similar channels. Built-in channels and docs were updated. Pld channel configs using no_sort are internally aliased to sort=source.

This PR closes #996

Checklist

  • my commits and PR title follow the conventional commits format
  • if this is a new feature, I have added tests to consolidate the feature and prevent regressions
  • if this is a bug fix, I have added a test that reproduces the bug (if applicable)
  • I have added a reasonable amount of documentation to the code where appropriate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow frecency controlling settings

1 participant