# ui: Render keybinds for disabled actions with disabled color \(\#27693\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f6d58f76e48e6d9376870bfdf5e64c6fb95c207e

Requested commit: f6d58f76e48e6d9376870bfdf5e64c6fb95c207e

Commit: f6d58f76e48e6d9376870bfdf5e64c6fb95c207e

Tree: 64e37c0b796dadbe232a00e4ca966714a383fef1

Author: Finn Evers

Committer: GitHub

## Message

```
ui: Render keybinds for disabled actions with disabled color (#27693)

This PR ensures that keybinds for disabled actions in context menus are
also colored according th their disabled state.

### Default

| Current `main` | This PR | 
| --- | --- | 
| <img width="212" alt="main_default"
src="https://github.com/user-attachments/assets/c9f24f4b-dff1-4930-9a3c-07ce1fad516a"
/> | <img width="212" alt="pr_default"
src="https://github.com/user-attachments/assets/fd3db1b8-3a46-4b17-81e7-de66b35b4a79"
/> |

### Vim-Mode

| Current `main` | This PR | 
| --- | --- | 
| <img width="255" alt="main_vim"
src="https://github.com/user-attachments/assets/2845efd3-0109-4e00-af92-203a328d6282"
/> | <img width="255" alt="pr_vim"
src="https://github.com/user-attachments/assets/af073173-30c0-4a60-942f-0f124089c723"
/>|


Release Notes:

- Keybinds in contexts menus will now also be dimmed if the
corresponding action is currently disabled.
```

## Parents

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

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