# zed2: Restore buffer search deploy & focus behavior \(\#3670\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 83b55de73eb62c4ab7cc32f6ac96c41d7cfd9600

Requested commit: 83b55de73eb62c4ab7cc32f6ac96c41d7cfd9600

Commit: 83b55de73eb62c4ab7cc32f6ac96c41d7cfd9600

Tree: c4161a3af41a91aa2a5b73f7a8930977b302bdaa

Author: Kirill Bulatov

Committer: GitHub

## Message

```
zed2: Restore buffer search deploy & focus behavior (#3670)

In zed1, cmd-f either opened the search buffer, or focused into it if it
was open already. Search query got updated, if any selection was made on
the moment of cmd-f call.

The PR restores that behavior and also

* fixes a bug when opened diagnostics error always got pasted
* comments out the panic on multibuffer separator click 
* removes extra stdout & stderr debug logging

Release Notes:

- N/A
```

## Parents

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

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

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