# vim: Fix scrolling \(\#2647\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 16c23557b8150c71ba31aa62c8bee4d8f27f107f

Requested commit: 16c23557b8150c71ba31aa62c8bee4d8f27f107f

Commit: 16c23557b8150c71ba31aa62c8bee4d8f27f107f

Tree: d45ae3c44f9022fe1b9306bb333b3bea67039799

Author: Nathan Sobo

Committer: GitHub

## Message

```
vim: Fix scrolling (#2647)

After #2641 we noticed that scrolling didn't take a count parameter, and
a few other issues with the way that we calculated the distance to
scroll.
 
Release Notes:

- Improved distance calculations for page-up/page-down
- vim: Allow counts to work with scrolling shortcuts.
```

## Parents

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

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

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