# Add diff panel keyboard toggle and shortcut hint · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/d47059a9db4546ce507341bbc8e7c25d0f60300a)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: d47059a9db4546ce507341bbc8e7c25d0f60300a

Requested commit: d47059a9db4546ce507341bbc8e7c25d0f60300a

Commit: d47059a9db4546ce507341bbc8e7c25d0f60300a

Tree: 53b95a3337f19ae9fb5ad9b1e172d0d5794a6aad

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add diff panel keyboard toggle and shortcut hint

- Bind `mod+d` to `diff.toggle` when terminal is not focused
- Wire ChatView to handle `diff.toggle` and show its shortcut in the diff button tooltip
- Limit sidebar `mod+b` listener to mobile to avoid desktop shortcut conflicts
- Extend web/contracts keybinding tests and command list for `diff.toggle`

```

## Parents

- [10c1cae6abb3c87887b3d4a9cc6d2d4788145bd2](https://git.cafe/pingdotgg/t3code/commit/10c1cae6abb3c87887b3d4a9cc6d2d4788145bd2?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/d47059a9db4546ce507341bbc8e7c25d0f60300a?format=markdown)
