# Editor: Add shortcut to toggle line numbers \(\#8642\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 34de33ef72b206d163ad122b2f0d0b551ac20244

Requested commit: 34de33ef72b206d163ad122b2f0d0b551ac20244

Commit: 34de33ef72b206d163ad122b2f0d0b551ac20244

Tree: 02e496645c897ed09a89b43edcd698fcccaae6e9

Author: Spence

Committer: GitHub

## Message

```
Editor: Add shortcut to toggle line numbers (#8642)

Following #7665, I've added a keymap to quickly hide and show gutter
line numbers.

`ctrl-l` and `cmd-l` were taken, so I've bound it to `cmd-;`. 



https://github.com/zed-industries/zed/assets/138762/365d2a7c-b775-4486-8389-edafe59b2a87

Release notes:

- Added `editor: toggle line numbers` command and default keybindings
(`cmd-;` on macOS).

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
```

## Parents

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

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