# Fix focus and re-focus of project-wide search · gitcafe/zed

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

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

Visibility: public

Requested revision: 130ea79c95611be311db2299d1acf78e01e5987e

Requested commit: 130ea79c95611be311db2299d1acf78e01e5987e

Commit: 130ea79c95611be311db2299d1acf78e01e5987e

Tree: 33bd4db53013de4896350cb75f9c7e42aa91d116

Author: Thorsten Ball

Committer: Thorsten Ball

## Message

```
Fix focus and re-focus of project-wide search

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".

Co-authored-by: Kirill <kirill@zed.dev>

```

## Parents

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

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