5 ms·
Exactly, I use it with fzf and ctrl-t: 54 │ export FZF_CTRL_T_COMMAND="mdfind -onlyin . -name ." Unfortunately it's not instant - it takes about a second
by bloopernova 5y ago
Exactly, I use it with fzf and ctrl-t:
54 │ export FZF_CTRL_T_COMMAND="mdfind -onlyin . -name ."
Unfortunately it's not instant - it takes about a second for the tens of thousands of file entries to populate. But fzf searching that list is practically instant. After selecting the file I want, enter just returns me to the command line with the full path to the file. I can then ctrl-a and type 'vim' or 'code' or whatever. It's not a perfect workflow, but it's pretty good for finding files in complex folder structures.