# Add shortcuts for terminal close and chat with same Git state · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/c42d6a6a6489c89d56830cdba7fee752afef5c14)

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

Visibility: public

Requested revision: c42d6a6a6489c89d56830cdba7fee752afef5c14

Requested commit: c42d6a6a6489c89d56830cdba7fee752afef5c14

Commit: c42d6a6a6489c89d56830cdba7fee752afef5c14

Tree: b7dee09d52d94618d54d2559af562a6702f088df

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add shortcuts for terminal close and chat with same Git state

- Extend keybinding contracts/defaults with `terminal.close` and `chat.newSameGitState`
- Wire web handlers for `mod+w` to close focused terminal and `mod+shift+n` to open a thread preserving branch/worktree
- Update docs and keybinding tests across server, web, and contracts

```

## Parents

- [5242bbbaded1389ba117dae8089f6d7f505bc2a5](https://git.cafe/gitcafe/t3code/commit/5242bbbaded1389ba117dae8089f6d7f505bc2a5?format=markdown)

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