# git: New actions for git panel navigation \(\#43701\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 73f129a6858098b485ce2321e7141d30da815280

Requested commit: 73f129a6858098b485ce2321e7141d30da815280

Commit: 73f129a6858098b485ce2321e7141d30da815280

Tree: d881df15e636b6db3d3aa6a27291ee1754605fa3

Author: Luis Cossío

Committer: GitHub

## Message

```
git: New actions for git panel navigation (#43701)

I could not find any related issue, but at least I want to use the git
panel like this :)

Being used to `lazygit`, this PR makes navigation of the git panel more
similar to the CLI tool.

Instead of selecting -> enter'ing for skimming each file, I just want to
move between the files in the git panel and have the diff multibuffer
advance to the appropriate file. This also adheres to the behavior of
the outline panel, which I like better.

If the multibuffer is not active, it behaves same as before (just
selecting the file in the panel, nothing else).

I did not modify existing `menu::Select*` actions in case anybody still
prefers previous behavior.




https://github.com/user-attachments/assets/2d1303d4-50c8-4500-ab3b-302eb7d4afda



Release Notes:

- Improved navigation of the git panel, by advancing the "Uncommitted
Changes" multibuffer to the current selected file. To restore the old
behavior, you can bind `up` and `down` to `menu::SelectPrevious` and
`menu::SelectNext` under the `GitPanel` context in your keymap.

Co-authored-by: Cole Miller <cole@zed.dev>
```

## Parents

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

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