# Add keyboard shortcuts to center scrolling around current line \(\#14385\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3c38be59b51e565664c1d7a6a64f3cdbb8c3a26a

Requested commit: 3c38be59b51e565664c1d7a6a64f3cdbb8c3a26a

Commit: 3c38be59b51e565664c1d7a6a64f3cdbb8c3a26a

Tree: d1b16215a3feeb1e5459c541cd3edc8633a9b14e

Author: Peter Tripp

Committer: GitHub

## Message

```
Add keyboard shortcuts to center scrolling around current line (#14385)

- MacOS: Center the cursor in the visible area. `ctrl-l` (matches MacOS)
- Linux JetBrains: Scroll so cursor is at the Middle `ctrl-m`
- `editor::NextScreen` is not longer bound in any keymap by default (was
`ctrl-l` on MacOS)

Fixes #5247
```

## Parents

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

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