# git_ui: Add support for collapsing/expanding entries with your keyboard \(\#45002\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3f11cbd62c203857f83252f7e2aa1b073a4b73fb)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3f11cbd62c203857f83252f7e2aa1b073a4b73fb

Requested commit: 3f11cbd62c203857f83252f7e2aa1b073a4b73fb

Commit: 3f11cbd62c203857f83252f7e2aa1b073a4b73fb

Tree: 681578291c5480d2b779a94b4f4d3898ef293b9f

Author: Remco Smits

Committer: GitHub

## Message

```
git_ui: Add support for collapsing/expanding entries with your keyboard (#45002)

This PR adds support for collapsing/expanding Git entries with your
keyboard like you can inside the project panel and variable list.

I noticed there is a bug that selecting the next entry when you are on
the directory level will select a non-visible entry. Will fix that in
another PR, as it is not related to this feature implementation.

**Result**:


https://github.com/user-attachments/assets/912cc146-1e1c-485f-9b60-5ddc0a124696

Release Notes:

- Git panel: Add support for collapsing/expanding entries with your
keyboard.
```

## Parents

- [bcebe76e536c980a03ce618343a76a511f543881](https://git.cafe/gitcafe/zed/commit/bcebe76e536c980a03ce618343a76a511f543881?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3f11cbd62c203857f83252f7e2aa1b073a4b73fb?format=markdown)
