I need a life. Can it help me find that?
You’ve had your chance!
Nooooooooooooooooooo!
orderless achieves the same sort of thing in emacs, but I also use an fzf zsh alias to see my shell history all the time!
alias hf="history -100 | fzf"
Fzf has some scripts packaged for most shells that’ll replace ctrl-r reverse history search with this behavior
They also add C-t and M-c for fuzzy finding files and CDing to a subdirectory
Thank you for the reply! Just figured that out and its awesome! Love CTRL+T for file names and ALT+C for cding.
I used fzf like twice or so and I can’t live without fuzzy finding anymore.
FWIW broot is a great fuzzy finding file tree tool that can be used similarly (much better for the task IMO), with a little configuration.
That looks great … if only there were an easy fish plugin version of it ;)
I’m currently using fzf.fish and it’s been great - my only complaint is that I can’t use it to jump to/insert a directory/file that’s outside of the current directory, but it seems like your solution with boot+zsh overcomes that limitation?
Yeah, since broot is a full featured file navigator and operator, you can get anywhere once it’s launched. I have alt+up bound to go up a directory, but there are other ways to get around as well.
Broot supports fish out of the box, and you can use its default fish launcher function to change your folder (alt+enter quits broot then performs a
cd
) or insert a path (the broot commandpp
quits broot then prints the path, like fzf).I never learned fish scripting, but if anyone here has they may try to port my Zsh functions, especially to get path completion for partially typed paths. If you’re doing that and have questions about the broot config side of the equation, I’m happy to try to help.
Been using fzf for years now. Great integration with vim and ranger.
here to show fzf support