# search_bar: Add toggle_replace_on_a_pane\. \(\#2966\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a1353b8bb9b26263a133fdea2359fcc597492623

Requested commit: a1353b8bb9b26263a133fdea2359fcc597492623

Commit: a1353b8bb9b26263a133fdea2359fcc597492623

Tree: f278e01ac6c839c05f41da84371000bf53fd9a67

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
search_bar: Add toggle_replace_on_a_pane. (#2966)

This allows users to add a keybind to ToggleReplace from Editor/Pane
contexts.

Release Notes:
- Fixed replace in buffer not reacting to keyboard shortcuts outside of
search bar<preview-only>.
```

## Parents

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

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