# vim: Grep in visual line \(\#33414\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f9987a11419cc7ea2c7a06a6a8017b9d1232ed11

Requested commit: f9987a11419cc7ea2c7a06a6a8017b9d1232ed11

Commit: f9987a11419cc7ea2c7a06a6a8017b9d1232ed11

Tree: 153ca40bbe6aeb5da1834b2b9e981ac18a48761b

Author: 5brian

Committer: GitHub

## Message

```
vim: Grep in visual line (#33414)

From
https://github.com/zed-industries/zed/pull/10831#issuecomment-2078523272

> I agree with not prefilling the search bar with a multiline query.

Not sure if it's a bug that a one-line visual line selection does not
get pre filled, this PR corrects the query to use the visual line
selection instead of the 'normal' selection

Release Notes:

- N/A
```

## Parents

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

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