-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Thanks for making fzf, great UX! This is a feature request, so I'm skipping the template.
I'm using fzf like so:
fd --follow --hidden --no-ignore | proximity-sort . | fzf --tiebreak=indexWorks fine, but proximity-sort needs all of the input to process it, so in ~, for example, it ultimately takes a few seconds for anything to appear, which is suboptimal.
Solution A is to have fzf display a "lower-quality" list of paths of my choosing while it's waiting for proximity-sort to produce the first line.
Solution B is to have proximity-sort pipe through the lines coming from fd to fzf as they come, do the necessary processing, somehow signal fzf to start over (and possibly change its tie-breaking mode), and pipe out the sorted data.
In both solutions fzf must wait for the line matching the currently-selected one to be piped in before updating the list, as to avoid jarring jumps. If there's no such line then gotta wait for the end of the input.
Would you be interested in either of these? Or is it already possible, maybe? Comments? 🙂