# vim: Fix linewise copy of last line with no trailing newline \(\#2885\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3b6794fe361ef4574f76e57d73670e69212dc3b0

Requested commit: 3b6794fe361ef4574f76e57d73670e69212dc3b0

Commit: 3b6794fe361ef4574f76e57d73670e69212dc3b0

Tree: 6a9f0a827a83fa558979d845aa7a0e25ee5436e6

Author: Conrad Irwin

Committer: GitHub

## Message

```
vim: Fix linewise copy of last line with no trailing newline (#2885)

Along the way, delete the VimBindingTestContext by updating the
visual tests to no-longer need it.


Release Notes:

- vim: Fix `y` when on the last line of a file with no trailing newline.
```

## Parents

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

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

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