# Add Shift\+Tab shortcut to toggle composer plan mode \(\#186\) · gitcafe/t3code

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

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

Visibility: public

Requested revision: f403b23e9af62e31b05c3444c47fa8762fd82c46

Requested commit: f403b23e9af62e31b05c3444c47fa8762fd82c46

Commit: f403b23e9af62e31b05c3444c47fa8762fd82c46

Tree: a0f1e5dcb0dd192a206788ace592b965a484c9ad

Author: Theo Browne

Committer: GitHub

## Message

```
Add Shift+Tab shortcut to toggle composer plan mode (#186)

- add Shift+Tab keyboard handling in composer to switch chat/plan modes
- refactor mode toggle into shared callback used by hotkey and button
- add browser test to verify toggling only works when composer is focused
```

## Parents

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

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