# agent_ui: Add keybinding to cycle through new thread location options & settings \(\#51384\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 47cc0bac418c9b7ab63e4116961301fd51c745fb

Requested commit: 47cc0bac418c9b7ab63e4116961301fd51c745fb

Commit: 47cc0bac418c9b7ab63e4116961301fd51c745fb

Tree: 86bf1de6a1abdcc1ddbda43fda97cb0a48981ad5

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Add keybinding to cycle through new thread location options & settings (#51384)

This PR adds the ability to save in the settings whether new threads
should start in the current project or in a new Git worktree.
Additionally, it also adds a keybinding that allows cycling through the
menu options easily, with the ability to use cmd-click/enter to choose
which one is set as the default.

No release notes because this feature/settings depends on a feature flag
that isn't out yet.

Release Notes:

- N/A
```

## Parents

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

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