# vim: Fix search submit panic \(\#25673\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b6e8db244c3da587d1db2d2999383847e3d2dcc2

Requested commit: b6e8db244c3da587d1db2d2999383847e3d2dcc2

Commit: b6e8db244c3da587d1db2d2999383847e3d2dcc2

Tree: b64008785b7dbc5022e52b8f6874e93a7c1cd2b7

Author: smit

Committer: GitHub

## Message

```
vim: Fix search submit panic (#25673)

In file search submit action, handle unwrap when there are no prior
selection.

Fix is for recently made commits, hence no release notes.

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <anthony@zed.dev>
```

## Parents

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

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