desgreech · 2022-04-12 14:38
There was a feature in Ivy that allows you to [hide dotfiles](https://github.com/abo-abo/swiper/blob/5ff652c3020c5c510011018ca6805a4d65339e32/counsel.el#L1958) (or any regex that you want to specify) until you input a leading dot into the search query, is there anything similar with Vertico? It's a really nice feature to declutter hidden files from your search results.
Walheimat · 2022-04-12 20:19
You can hide/show recent files with `consult` and a custom filter. If you're finding files in a project, you could probably rely on your vc ignores (`projectile` will respect your `.gitignore`) but showing them would probably require some function variant with `let` binding to override the ignore list.
crawsphi · 2022-04-12 20:40
Right. To be explicit, this isn't something that is within Vertico's purview. It is just a display. To customize the offered values for a command, you need to look at the command itself.
Ghosty141 · 2022-04-12 21:27
There is [consult-find-args](https://github.com/minad/consult/blob/af452dc5d429e15fb1228dd6967d592f1c483640/consult.el#L257) for consult-find for example, but I sadly never got it to work properly since I didn't quite understand how consult mangles the arguments internally.