# vim: Fix Y on last line \(\#2975\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5c22e40e991c4162038591892fba092d3b02c58c

Requested commit: 5c22e40e991c4162038591892fba092d3b02c58c

Commit: 5c22e40e991c4162038591892fba092d3b02c58c

Tree: 014c1e7e2449c00312a96054ef6cd21c8d8a1e8a

Author: Conrad Irwin

Committer: GitHub

## Message

```
vim: Fix Y on last line (#2975)

For zed-industries/community#2044

Release Notes:

- vim: Fix y in VISUAL LINE mode when last line has no trailing newline
([#2044](https://github.com/zed-industries/community/issues/2044)).
```

## Parents

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

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

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