Command palette and keyboard shortcuts
The command palette
Press Cmd+K (macOS) or Ctrl+K (Windows and Linux), or click the magnifier button (Search and actions) in the toolbar, to open the Command palette. In the desktop application this button is at the bottom of the sidebar, or in the top bar when the sidebar is collapsed.
- Type a few letters to find an earlier chat by title or workspace folder.
- Use the arrow keys to choose a result and open it with
Enter. - Under Actions you find, among others, New chat, Open history, Open settings and, in the desktop application, Choose default workspace folder. In a chat you also find Show changes, Show commands and Show progress here.
Esccloses the palette.
Keyboard shortcuts
On a Mac you use Cmd, on Windows and Linux Ctrl.
| Shortcut | Action |
|---|---|
Cmd/Ctrl+K | Open or close the command palette |
Cmd/Ctrl+/ | Show keyboard shortcuts (searchable) |
/ or Cmd/Ctrl+L | Go to the message field |
Cmd/Ctrl+. | Stop the running task |
Cmd/Ctrl+N | Start a new chat (desktop application) |
Cmd/Ctrl+Shift+B | Show or hide the right panel (desktop application) |
Single-key shortcuts, such as /, do not work while you are typing.
In the File changes panel you use j, k, n and p to move between files and blocks, see Local File Access.