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.
[ Parent
| on HN ]
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.
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.