News for hackers. Stuff that matters.
Re:So you've installed `fzf`. Now what? by larschdk on Tuesday March 21, 2023 @05:54PM (#35253129)
Fuzzy history is nice, but the real game changer for me was the ability to pretty much stop remembering paths in big projects. The default keybindings provide the Ctrl-T shortcut to insert a path/filename on the command line using fuzzy search and Alt-C to fuzzy-cd. No more tedious completion - just search + enter.
Re:So you've installed `fzf`. Now what? by reddit_clone on Tuesday March 21, 2023 @06:04PM (#35253270)
Same thing with Emacs with Projectile.

I can't believe people still using a tree view of a deeply nested project and clicking though directories and finally finding a file.

I am not willing to type more than a few characters for any file in the project. Fuzzy finding with quick narrowing FTW.

Re:So you've installed `fzf`. Now what? by cbm-vic-20 on Tuesday March 21, 2023 @07:30PM (#35254331)
I've seen a number of projects with hundreds of "index.js" files.
Re:So you've installed `fzf`. Now what? by hectormalot on Tuesday March 21, 2023 @08:16PM (#35254815)
fzf includes the path in your match. So, unless the directories also have unpractical names, this typically won’t be a problem.

Learning for me: Brew suggests to install the shortcuts but doesn’t automatically do this. Just activated this and Ctrl-R is a big improvement this way.

Re:So you've installed `fzf`. Now what? by reddit_clone on Wednesday March 22, 2023 @12:03AM (#35256677)
So you type a few more characters and narrow it down. Space separated snippets will match any part of the path.
Re:So you've installed `fzf`. Now what? by nickysielicki on Wednesday March 22, 2023 @04:01AM (#35258108)
What I really want is orderless[1] searching of my vterm shell history. That would be a game changer.

https://github.com/oantolin/orderless

Re:So you've installed `fzf`. Now what? by vladxyz on Tuesday March 21, 2023 @11:01PM (#35256276)
I've got this in my profile:

  export CDPATH="$HOME:$HOME/code/:$(ls -d $HOME/work/*/| tr \\n :)"
so regardless of my cwd I can cd into pretty much any project I'd want to.
Re:So you've installed `fzf`. Now what? by larschdk on Wednesday March 22, 2023 @05:18AM (#35258628)
In my environment:

  ~/project% find -type d | wc -l
  13946
I access files in a dozen or so folders in this hierarchy regularly, so fuzzy find is an extreme boost for me.
Re:So you've installed `fzf`. Now what? by snowe2010 on Thursday March 23, 2023 @03:20AM (#35271461)
I just use fzf-marks. Then I can fuzzy cd the only directories that ever matter to me.