Skip to content
Source
Sign inSign up

keyboard-focus.md

37 lines2.0 KB

1# Keyboard focus
2​
3The command palette keeps focus while open. Closing it returns focus to the composer in chat,
4or to the previous control on other pages. Choosing a workspace focus command moves to that
5area instead. Opening Pull Requests moves focus into that page.
6While the palette or model picker is open, number shortcuts select its entries instead of
7switching threads. Model shortcuts work in Settings as well as the composer.
8See [Keybindings](./keybindings.md) to customize these shortcuts.
9​
10If you return to typing while a terminal is starting, the composer keeps focus when the terminal
11becomes ready. Opening or switching to a terminal explicitly still focuses it.
12​
13## Move between workspace areas
14​
15On web and desktop, press `F6` or `Shift+F6` to move between the Threads sidebar,
16conversation, message input, and visible panels. Navigation wraps around and restores
17the last focused control in each area. Pull Requests has a page content area. In Settings,
18`F6` moves between the section list and the open section. Hidden areas are skipped. Other
19dialogs and form popups retain focus; a thread context menu closes when an area command
20moves focus away.
21​
22In a browser, plain `F6` may move to the browser's own toolbar. Use `mod+F6` and
23`mod+Shift+F6` instead (`mod` is Command on macOS and Ctrl elsewhere). **Focus Next
24Workspace Area** and **Focus Previous Workspace Area** are also in the command palette and
25can be remapped in Settings > Keybindings.
26​
27## Browse threads
28​
29Tab moves through each thread and its buttons. Up and Down also move between threads
30without opening them; Enter opens the focused thread or toggles a group. Right and Left
31expand and collapse groups. `F2` renames the focused thread.
32​
33Press `Shift+F10` or the Context Menu key to open the focused thread's menu. Use the arrow
34keys to move through it, Enter to choose, and Escape to close it.
35​
36The Settings section list works the same way: Tab moves through each section, Up and Down
37also move between sections without opening them, and Enter opens one.