How to use the Snacks.picker.smart() and its flags? #1908
Unanswered
DominikMendel
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Note
smart = {
multi = {
{ source = 'files', args = { '--exact-depth=100' } },
{ source = 'colorschemes' },
},
format = false,
confirm = false,
}
|
Beta Was this translation helpful? Give feedback.
5 replies
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.
-
Please correct me if I'm wrong, but this is the only documentation I see on functions like this :
If so... what do these fields even mean? How do I use them?
What is
finders? string[]
doign? "list of finders to use", use for what? I'm just a little lost in this area.What is the
multi
table for?I want to replace my use case for
Snacks.picker.files()
but I need to add theargs
for searching :But I don't see any
args
parameter forSnacks.picker.smart()
.frecency
flag used insnacks.picker.matcher.Config
'smatcher = { frecency...
? Is there a way to use frecency stuff outside of justSnacks.picker.smart()
. Ideally I'd like to use frecency on everything possible.Any help here would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions