# Add ability to bind to pane::RevealInProjectPanel \(\#7487\) · gitcafe/zed

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

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

Visibility: public

Requested revision: db39b9dadc4cb60bf579cd0be2ab8dabc4da7994

Requested commit: db39b9dadc4cb60bf579cd0be2ab8dabc4da7994

Commit: db39b9dadc4cb60bf579cd0be2ab8dabc4da7994

Tree: ba61efec17f9b115ea1a6b366ccc05af6c4b4b6e

Author: Thorsten Ball

Committer: GitHub

## Message

```
Add ability to bind to pane::RevealInProjectPanel (#7487)

Previously it wasn't possible to create a keybinding for this action
because it required an argument.

Now the action takes the active item of the pane and if it's a
multi-buffer the first one.

This also adds a default keybinding for Vim mode: `-` will reveal the
file in the project panel.

Fixes #7485.

Release Notes:

- Added `pane::RevealInProjectPanel` as an action in the command
palette. ([#7485](https://github.com/zed-industries/zed/issues/7485)).

Co-authored-by: Antonio <antonio@zed.dev>
```

## Parents

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

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