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

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

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

Visibility: public

Requested revision: fb4afca9ceb9d916cd6107e663d1a05e21bdf5fc

Requested commit: fb4afca9ceb9d916cd6107e663d1a05e21bdf5fc

Commit: fb4afca9ceb9d916cd6107e663d1a05e21bdf5fc

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/pingdotgg/t3code/commit/5242bbbaded1389ba117dae8089f6d7f505bc2a5?format=markdown)

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