I always loved the overview you can get from a tree like view. But
tree is almost never usable, because it usually generates pages (or hundreds of pages) of output.
tree is also not interactively searchable and of course doesn't act as a launcher.
tree was one of the starting point in the reflection.
fzf was another one, I can't live without fuzzy search anymore.
And thus I made broot which I use all the time, which lets me go to any directory or file with a few keystrokes and faster than any other one.
It's ready for general consumption, now, but I'm still thirsty for feedback.
broot can be launched with commands, which allows for example non interactive shortcuts like this one:
If any rust expert is around, I'd love to discuss the code, especially any ideas of micro-optimizations (the development of such a program is all about speed).
A better way to navigate directories
Get an overview of a directory, even a big one
Notice the unlisted?
That's what makes it usable where the old
tree command would produce pages of output.
.gitignore files are properly dealt with to put unwanted files out of your way (you can ignore them though, see documentation).
Hit ctrl→ when a file is selected and the preview panel appears.
The preview panel stays synchronized with the selection in tree panels.
Find a directory then
cd to it
type a few letters
Hit altenter and you're done.
This way, you can navigate to a directory with the minimum amount of keystrokes, even if you don't exactly remember where it is.
broot is fast and doesn't block (any keystroke interrupts the current search to start the next one).
Most useful keys for this: