broot Tree navigator
Light · Postcard
102 × 152 mm · PDF
Dark · Postcard
102 × 152 mm · PDF
Ink saver · Postcard
102 × 152 mm · PDF
Light · A4 landscape
297 × 210 mm · PDF
Dark · A4 landscape
297 × 210 mm · PDF
Ink saver · A4 landscape
297 × 210 mm · PDF
Light · A3 landscape
420 × 297 mm · PDF
Dark · A3 landscape
420 × 297 mm · PDF
Ink saver · A3 landscape
420 × 297 mm · PDF
Start here
br<letters>EnterAlt+EnterEsc?:cp <path>
Ctrl+qConcepts
- Pattern letters, /regex, c/text
- Tree selected line
- Verb :cp, :rm, :e
- Selection file or staged set
Launch
brbr <path>br -sbr -hbr -ibr -dbr -pbr -sdpbr -wbr -fbr -gbr -ggbr -c "<cmds>"
broot --installNavigate
ArrowsEnterAlt+EnterEsc?Ctrl+q:parent:focus <path>
:focus ~Ctrl+sAlt+hAlt+iSearch
<letters>n/<text>e/<text>/<regex>/<regex>/i
c/<text>rc/<regex>
!<pattern>
<a>&<b>
<a>|<b>
View
:sort:size:dates:perm:gf:gs:gd:fsFiles
:e:cp <path>
:mv <path>
:rm:trash:rename:md <name>
:restore_trashed_file
Panels and staging
Ctrl+RightCtrl+LeftCtrl+w:focus! <path>
:cpp:mvpCtrl+gCtrl+a:cls:preview_diffOutput and config
:pt:print_pathbr --cmd ":pt" > <file>
conf.hjsondefault_flags: "-gh"
Recipes
# conf.hjsonverbs: [ { invocation: edit key: Enter shortcut: e external: "nvim +{line} {file}" apply_to: text_file leave_broot: false }]
# bash/zsh, in your rc filefunction dcd { br --only-folders --cmd "$1;:cd"; }dcd <pattern>
function tree { br -c :pt "$@"; }tree -s ~/projects
br -ghc :gs# select a file, then# :gd to see its diff# Esc to return to the full tree



