# editor: Replace hardcoded keystroke in Excerpt Fold Toggle tooltip \(\#38978\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7ad9ca9bcc05ef9ed2d5b0739e75bd1ed728eb43

Requested commit: 7ad9ca9bcc05ef9ed2d5b0739e75bd1ed728eb43

Commit: 7ad9ca9bcc05ef9ed2d5b0739e75bd1ed728eb43

Tree: c95014dc7f7ee7e05c8b1d5fee05166edc98b00b

Author: Bartosz Kaszubowski

Committer: GitHub

## Message

```
editor: Replace hardcoded keystroke in Excerpt Fold Toggle tooltip (#38978)

# Why

I have recently corrected this tooltip content for macOS, but recently
have learnt that keystroke to text helpers already exist in the
codebase.

# How

Replace hardcoded keystroke for Excerpt Fold Toggle in Uncommitted
Changes tab.

> [!important]
> Should be merged after #38969 and #38971, otherwise it would be a
regression on macOS.

Release Notes:

- N/A

# Preview (stacked on mentioned above PRs)

<img width="618" height="248" alt="Screenshot 2025-09-26 at 17 43 53"
src="https://github.com/user-attachments/assets/cdc7fb74-e1d8-4a59-b847-8a8d2edd4641"
/>
```

## Parents

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

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