# Allow a new search to be created with cmd-enter · gitcafe/zed

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

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

Visibility: public

Requested revision: 2f427769df6372c9c07d3e0d20b1769bdda8ccd2

Requested commit: 2f427769df6372c9c07d3e0d20b1769bdda8ccd2

Commit: 2f427769df6372c9c07d3e0d20b1769bdda8ccd2

Tree: 534c52943c28e7a0dbf382df8fb58a10d55c7961

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Allow a new search to be created with cmd-enter

This replaces the `cmd-alt-shift-F` binding to open a new search. Instead, you can preserve the existing search results by entering a query and then hitting `cmd-enter` instead of `enter`. This opens a new project find view and restores the previous view to whatever query it was previously displaying. It's a bit strange, but I don't want to rely on splitting as the only way of creating multiple sets of search results.

```

## Parents

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

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