# vim: Fix 1G \(\#2640\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b0631e90addc06099a09dc732fa9a6c100853d25

Requested commit: b0631e90addc06099a09dc732fa9a6c100853d25

Commit: b0631e90addc06099a09dc732fa9a6c100853d25

Tree: eada995668ea13fdd0f8a0aa90eb3dad4e202a3c

Author: Max Brunsfeld

Committer: GitHub

## Message

```
vim: Fix 1G (#2640)

Before this change code could not distinguish between a user providing a
count of 1 and no count at all.

Fixes: zed-industries/community#710

Release Notes:

- 1G now correctly goes to the first line in vim mode
([710](zed-industries/community#710))
```

## Parents

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

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

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