# Adjust \`editor: open excerpts split\` key binding \(\#23646\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 21b4a0d50ee3e89938ae7bdf02acc4be8519cdde

Requested commit: 21b4a0d50ee3e89938ae7bdf02acc4be8519cdde

Commit: 21b4a0d50ee3e89938ae7bdf02acc4be8519cdde

Tree: da20d58a46652495fb3d436c6ee729c49bb1fdeb

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Adjust `editor: open excerpts split` key binding (#23646)

The pattern in Zed and in other editors is to use `cmd` to modify some
file-opening action to open it in a split rather than in the current
pane.

- In the project pane, a `click` opens a file, and a `cmd-click` opens
it in a split
- In the file finder, `enter` opens the file, and a `cmd-enter` opens it
in a split

It makes sense to me that if `alt-enter` opens a file from the excerpt,
that `cmd-alt-enter` opens it in a split, following the pattern above.

Note: I'm not auto-merging this, as others might disagree.
Note: I didn't touch the Vim binding.

Release Notes:

- Breaking Change: Changed `editor: open excerpts split` key binding to
`cmd-alt-enter` on macOS and `ctrl-alt-enter` on Linux.
```

## Parents

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

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