# Fix focus and re-focus of project-wide search \(\#4121\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 87046eff3ce24d21f175f04477f2a07d530ae9f1

Requested commit: 87046eff3ce24d21f175f04477f2a07d530ae9f1

Commit: 87046eff3ce24d21f175f04477f2a07d530ae9f1

Tree: 5af12364f03d9517f4af43dcdc40018c84d3fa01

Author: Thorsten Ball

Committer: GitHub

## Message

```
Fix focus and re-focus of project-wide search (#4121)

This fixes the issue of `Cmd-shift-f` not refocusing the search bar when
a project-wide search already exists.

It also fixes the handlers for "search in new" and "new search".


Release Notes:

- N/A
```

## Parents

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

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

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