# Fix panic in vim selection restoration \(\#29251\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5e31d86f1f127058b0626a18f87d7eee11ab1f76

Requested commit: 5e31d86f1f127058b0626a18f87d7eee11ab1f76

Commit: 5e31d86f1f127058b0626a18f87d7eee11ab1f76

Tree: 53060dd7cf6f98f9e3f47cca8d95f711d8ee564f

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix panic in vim selection restoration (#29251)

Closes #27986

Closes #ISSUE

Release Notes:

- vim: Fixed a panic when using `gv` after `p` in visual line mode
```

## Parents

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

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