junegunn / fzf

:cherry_blossom: A command-line fuzzy finder
https://junegunn.github.io/fzf/
MIT License
65.81k stars 2.41k forks source link

POC: [zsh] Use currently typed word as query for file-widget #4077

Closed druckdev closed 3 weeks ago

druckdev commented 3 weeks ago

This is a proof-of-concept. Before implementing this for the other shells or putting more work into it, I wanted to check if this is a wanted feature. Let me know what you think :)

junegunn commented 3 weeks ago

We recommend users to use fuzzy completion for this. It's more powerful that you can specify the search root along with the initial query.

ls **<tab>
ls foo**<tab>
ls ~/github/**<tab>
ls ~/github/foo**<tab>
druckdev commented 3 weeks ago

That makes sense, thanks!