# project_panel: Add action to open file in split pane \(\#36973\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9529cd18d19dbc4acd101097d1c8959486743609

Requested commit: 9529cd18d19dbc4acd101097d1c8959486743609

Commit: 9529cd18d19dbc4acd101097d1c8959486743609

Tree: c5fc1eae8e8c72dc49bec71878432dbfbb00a57b

Author: Ivan Trubach

Committer: GitHub

## Message

```
project_panel: Add action to open file in split pane (#36973)

Closes #18605

Related:
- https://github.com/zed-industries/zed/discussions/16901
- https://github.com/zed-industries/zed/issues/10549

Adds an action to open file in split pane. Also updates vim keybindings
for better compatibility with netrw:
[“v”](https://github.com/vim/vim/blob/bc461f952d854ffbde83eb74044efc3b329ea10e/runtime/pack/dist/opt/netrw/doc/netrw.txt#L1091)
and
[“o”](https://github.com/vim/vim/blob/bc461f952d854ffbde83eb74044efc3b329ea10e/runtime/pack/dist/opt/netrw/doc/netrw.txt#L1075)
keys should open file in splits.

<table>
<tr>
<td><video
src="https://github.com/user-attachments/assets/e24c6fd4-4eb0-407a-bdd1-5300908ea2a1">
<td><video
src="https://github.com/user-attachments/assets/fa0b8105-41a9-4421-a3cc-89244a90d67a">
</table>


Release Notes:

- Added `project_panel::OpenSplitVertical` and
`project_panel::OpenSplitHorizontal` actions for opening file in a
splits.
```

## Parents

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

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