# Keep first match selecting during type on search \(\#63375\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ded896cc913e6c274e4ba5e28cb5975a566b6cc6

Requested commit: ded896cc913e6c274e4ba5e28cb5975a566b6cc6

Commit: ded896cc913e6c274e4ba5e28cb5975a566b6cc6

Tree: fd929a6beb2045ad212e9a19a85715b74d3ba225

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Keep first match selecting during type on search (#63375)

Follow-up to https://github.com/zed-industries/zed/pull/62506

Before:


https://github.com/user-attachments/assets/19f6f0df-c5e3-417e-a351-13a09ccb726b

After:


https://github.com/user-attachments/assets/0b302ed7-a98d-4db4-81bc-d67f5cc7db87


* Fixes type on search not selecting the very first result as the
regular search does.
* Unifies the flicker freezing state better in the editor

Release Notes:

- N/A
```

## Parents

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

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