# Fix vim full line operations failing when no trailing newline \(\#24409\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 337b9e62d252225a056d369b992f8dd1044a5b3b

Requested commit: 337b9e62d252225a056d369b992f8dd1044a5b3b

Commit: 337b9e62d252225a056d369b992f8dd1044a5b3b

Tree: 33b01519865cac74bfdf9412c0312beff4a03279

Author: Ben Kunkle

Committer: GitHub

## Message

```
Fix vim full line operations failing when no trailing newline (#24409)

Closes #24270

Release Notes:

- Fixed an issue where doing line-wise operations in vim mode on the
last line of a file with no trailing newline would not work properly
```

## Parents

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

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