# agent_ui: Show the "new thread" keybinding for the currently active agent \(\#42939\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 10efbd5eb4258bb6d157e352bb1b5e7669ed6aca

Requested commit: 10efbd5eb4258bb6d157e352bb1b5e7669ed6aca

Commit: 10efbd5eb4258bb6d157e352bb1b5e7669ed6aca

Tree: 303fa2dd15026e6074568653e5863b15d3d84303

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Show the "new thread" keybinding for the currently active agent (#42939)

This PR's goal is to improve discoverability of how Zed "remembers" the
currently selected agent when hitting `cmd-n` (or `ctrl-n`). Hitting
that binding starts a new thread with whatever agent is currently
selected.

In the example below, I am in a Claude Code thread and if I hit `cmd-n`,
a new, fresh CC thread will be started:

<img width="500" height="822" alt="Screenshot 2025-11-18 at 1  13@2x"
src="https://github.com/user-attachments/assets/d3acd1aa-459d-4078-9b62-bbac3b8c1600"
/>


Release Notes:

- agent: Improved discoverability of the `cmd-n` keybinding to create a
new thread with the currently selected agent.
```

## Parents

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

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