Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse File tree #4095

Open
FrozenSource opened this issue Dec 2, 2024 · 1 comment
Open

Collapse File tree #4095

FrozenSource opened this issue Dec 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@FrozenSource
Copy link

Hi guys,

Have been trying out lazygit and one thing that I found out is that the arrow keys are used for moving around the different panels instead of something like tab and shift-tab.
My main issue (or something I have not found yet) is that the only way you can collapse or de-collapse a directory in the changes is by pressing the enter key on the directory but if I have a lot of changes it is such a hassle to collapse the directory somewhere mid-tree. Am I missing a shortcut or should this maybe have been the arrow-keys?

Thanks, am enjoying it,

@FrozenSource FrozenSource added the enhancement New feature or request label Dec 2, 2024
@mark2185
Copy link
Collaborator

mark2185 commented Dec 2, 2024

I don't think you're missing a shortcut, there isn't one that does that, I'm afraid.

There have been similar requests, but nothing was implemented yet.

mtrajano added a commit to mtrajano/lazygit that referenced this issue Dec 27, 2024
Seems like this feature is highly requested jesseduffield#4095 jesseduffield#3554

Did a quick wip pr. I got the core functionality working with files and
had some questions on what can be improved in order to polish it more.
I.e. What keymaps if any to add to these, should the functionality be to
toggle vs collapse and uncollapse separately, and if this should be
added anywhere else (right now it's just for the file tree)

Once I figure this out I can add the tests, documentations and anything
else that's missing. I'm also pretty new to the language so if there's a
way I can structure this better please let me know
mtrajano added a commit to mtrajano/lazygit that referenced this issue Dec 27, 2024
Seems like this feature is highly requested jesseduffield#4095 jesseduffield#3554

Did a quick wip pr. I got the core functionality working with files and
had some questions on what can be improved in order to polish it more.
I.e. What keymaps if any to add to these, should the functionality be to
toggle vs collapse and uncollapse separately, and if this should be
added anywhere else (right now it's just for the file tree)

Once I figure this out I can add the tests, documentations and anything
else that's missing. I'm also pretty new to the language so if there's a
way I can structure this better please let me know
mtrajano added a commit to mtrajano/lazygit that referenced this issue Dec 27, 2024
Seems like this feature is highly requested jesseduffield#4095 jesseduffield#3554

Did a quick wip pr. I got the core functionality working with files and
had some questions on what can be improved in order to polish it more.
I.e. What keymaps if any to add to these, should the functionality be to
toggle vs collapse and uncollapse separately, and if this should be
added anywhere else (right now it's just for the file tree)

Once I figure this out I can add the tests, documentations and anything
else that's missing. I'm also pretty new to the language so if there's a
way I can structure this better please let me know
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants