# vim: Implement \`\<count\>%\` motion \(\#25839\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 22b1a02e23abcd6e197de644869979485d8a68af

Requested commit: 22b1a02e23abcd6e197de644869979485d8a68af

Commit: 22b1a02e23abcd6e197de644869979485d8a68af

Tree: 092a2a140e460fd5b6d3542ec1632ed8b5d794fd

Author: brian tan

Committer: GitHub

## Message

```
vim: Implement `<count>%` motion (#25839)

Closes https://github.com/zed-industries/zed/discussions/25665

> Currently Zed is missing quite an useful Vim motion: <count>% (go to
{count} percentage in the file).
Description:
{count}% - Go to {count} percentage in the file, on the first non-blank
in the line linewise. To compute the new line number this formula is
used: ({count} * number-of-lines + 99) / 100 .
> [Link](https://neovim.io/doc/user/motion.html#N%25).

Release Notes:

- vim: Added `<count>%` motion

---------

Co-authored-by: Conrad Irwin <conrad@zed.dev>
```

## Parents

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

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