How to set smart pickers sort order? #1983
Answered
by
drowning-cat
AlejandroSanchez90
asked this question in
Q&A
Replies: 1 comment
-
opts = {
picker = {
sources = {
smart = {
multi = { 'buffers', 'recent', 'files' },
sort = { fields = { 'source_id' } }, -- source_id:asc, source_id:desc
filter = { cwd = true }, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AlejandroSanchez90
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i don't see a clear pattern when i open smart pickers, opened buffer are randomly placed, recent files as well, is there a way to force sort by open buffers, then last accessed, and then the rest ? also is there a way to limit result by cwd? when i open smart, it gets all the files i have opened in all projects
Beta Was this translation helpful? Give feedback.
All reactions