# vim: Add editor setting for changing regex mode default in vim searches \(\#53092\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 46fc6938a6da938e381707a8c62fe5d0eb2a3d86

Requested commit: 46fc6938a6da938e381707a8c62fe5d0eb2a3d86

Commit: 46fc6938a6da938e381707a8c62fe5d0eb2a3d86

Tree: 09ae4df619f68ff8ade834e1a2024c6917e18286

Author: Sean Hagstrom

Committer: GitHub

## Message

```
vim: Add editor setting for changing regex mode default in vim searches (#53092)

Closes #48007 

Release Notes:

- Added editor setting for changing regex mode default in vim searches

Summary:

- Based on the report in #48007 and the discussion here
https://github.com/zed-industries/zed/pull/48127#issuecomment-3838678903
- There was feedback mentioning that vim-mode needs to default
vim-searches to use regex-mode (even when the editor regex-search
setting is disabled). However, it was suggested that a vim search
setting could be configured to adjust this behaviour.
- In this PR a new vim setting was added to change whether vim-searches
will use regex-mode by default, so now users can can configure
vim-search to not use regex-mode when typing the `/` character (or using
the vim search command).

Screen Captures:


https://github.com/user-attachments/assets/172669fb-ab78-41a1-9485-c973825543c5
```

## Parents

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

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