# When searching in visual mode switch to normal mode \(\#4178\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 29e74a648f3756dd056577db1b90f8ed24d7ad19

Requested commit: 29e74a648f3756dd056577db1b90f8ed24d7ad19

Commit: 29e74a648f3756dd056577db1b90f8ed24d7ad19

Tree: f3d53cf7af4e87e038a17ff6cfdca4194c88f675

Author: Thorsten Ball

Committer: GitHub

## Message

```
When searching in visual mode switch to normal mode (#4178)

This matches Neovim behaviour by setting the mode to `Normal` when using
search while in visual mode.

Release Notes:

- Fixed Vim mode not switching to normal mode from visual mode when
using search (`/`) while in visual mode.
```

## Parents

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

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

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