# Add query and search options to pane::DeploySearch action \(\#47331\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 43867668f44549dd8da9954c62b1229c2fb6bec7

Requested commit: 43867668f44549dd8da9954c62b1229c2fb6bec7

Commit: 43867668f44549dd8da9954c62b1229c2fb6bec7

Tree: a5af9fee8f72313273bac5d4f64a6bc2142d4259

Author: Jozsef Lazar

Committer: GitHub

## Message

````
Add query and search options to pane::DeploySearch action (#47331)

Extend the DeploySearch action to accept additional parameters for
configuring the project search from keymaps:

- query: prefilled search query string
- regex: enable regex search mode
- case_sensitive: match case exactly
- whole_word: match whole words only
- include_ignored: search in gitignored files

With this change, the following keymap becomes possible:

```json
["pane::DeploySearch", { "query": "TODO|FIXME|NOTE|BUG|HACK|XXX|WARN", "regex": true }],
```

Release Notes:

- Added options to `pane::DeploySearch` for keymap-driven search
initiation
````

## Parents

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

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