Replies: 1 comment 2 replies
-
The best way would be to use the shell’s capability of chaining commands, it would be much faster than processing lines using async jobs, both fzf_exec and files support this. Using lua require("fzf-lua").files({ cmd = "fd . /etc/unbound && fd . ~/.config/nvim" }) But you can also create your own picker from scratch using :lua require("fzf-lua").fzf_exec("fd . /etc/unbound && fd . ~/.config/nvim", {}) |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hello Everyone!
I have been mulling around with trying to build in some fzf-lua functionality the venv-selector plugin. The plugin currently only uses telescope and I don't want to have telescope installed just for one plugin. I have had some limited success with this but I have struggled with how to be approach the fact that this plugin starts several fd jobs and as they finish they are passed to the results. Telescope and Plenary seem to allow this results list to be updated...What are your thoughts on trying to achieve something similar to this with fzf-lua?
Most of the stuff I could find related to this is about updating live_grep results which doesn't quite fit with searching for python virtual env files...
Beta Was this translation helpful? Give feedback.
All reactions