# search: Fix buffer search history navigation \(\#37924\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4db19a3a962bae5f39fe6b71093c61cc69d61b8e

Requested commit: 4db19a3a962bae5f39fe6b71093c61cc69d61b8e

Commit: 4db19a3a962bae5f39fe6b71093c61cc69d61b8e

Tree: 586e15cffc2940f64b51924b27273cb459aae07c

Author: tidely

Committer: GitHub

## Message

```
search: Fix buffer search history navigation (#37924)

Closes #36109 

Adds an additional option to `search` and `update_matches` to specify
whether the update should affect the search history.

Release Notes:

- Fix navigating buffer search history
```

## Parents

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

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