lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

In tree view: Toggle all directories collapsed

Open multivac61 opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. It would be nice to have the ability to toggle all directories when in tree view. When making a lot of edits it is tedious to do this by hand. Flat layout is very nice, but this is a little different.

Describe the solution you'd like Ability to toggle all directories collapsed

Describe alternatives you've considered Flat layout

Additional context I 🫶 lazygit

multivac61 avatar May 08 '24 12:05 multivac61

yes! I need this sm

Axlefublr avatar Sep 05 '24 14:09 Axlefublr

I don't know about collapsing all directories, but you can collapse a single directory by pressing <enter>.

Kemboiray avatar Sep 08 '24 02:09 Kemboiray

it is tedious to do this by hand

Axlefublr avatar Sep 08 '24 02:09 Axlefublr

I don't know anything about go language but I wish I could help with that, this is really needed.

vdegenne avatar Nov 13 '24 17:11 vdegenne

Implemented in #4131.

stefanhaller avatar Jan 13 '25 20:01 stefanhaller

@stefanhaller You legend!

multivac61 avatar Jan 14 '25 05:01 multivac61

@stefanhaller Thanks!!

vdegenne avatar Jan 14 '25 13:01 vdegenne