# agent: Fix keybinding to deny running a command \(\#39214\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3f31fc287480f38907f3bbc46a0fbdcc4d063554

Requested commit: 3f31fc287480f38907f3bbc46a0fbdcc4d063554

Commit: 3f31fc287480f38907f3bbc46a0fbdcc4d063554

Tree: 45917f894f4c3820c3b33a8d5ff50305c958b198

Author: Danilo Leal

Committer: GitHub

## Message

```
agent: Fix keybinding to deny running a command (#39214)

Despite how great `cmd-d` as a keybinding is, that was not working as it
was conflicting with an editor keybinding:


https://github.com/user-attachments/assets/2ea8665b-7008-4f0a-9426-8d31d379ee1c

This PR changes it to `cmd-alt-z`, which is the best "remove/fix"-type
of keybinding I could find that doesn't conflict with anything else.
Ideally, we'd use either the D, N, or R letters for "deny", "no", and
"reject", but unfortunately, none of them are nicely available in this
context...


Release Notes:

- agent: Fix keybinding to deny running a command
```

## Parents

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

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