# Keyboard shortcuts in the Factory App

Keyboard shortcuts for the Factory App on macOS, Windows, and Linux, including the command palette, the terminal, the sidebar, and session tools.

On macOS, Factory App shortcuts use <Kbd keys='Cmd' />; on Windows and Linux they use <Kbd keys='Ctrl' />. They work on desktop and on the web unless a row says otherwise.

## App shortcuts

These work anywhere in the app. The command palette lists them under **Keyboard Shortcuts**.

| Action | macOS | Windows and Linux |
| --- | --- | --- |
| Open the command palette | <Kbd keys='Cmd+K' /> | <Kbd keys='Ctrl+K' /> |
| Show or hide the terminal | <Kbd keys='Cmd+J' /> | <Kbd keys='Ctrl+J' /> |
| Show or hide the sidebar | <Kbd keys='Cmd+B' /> | <Kbd keys='Ctrl+B' /> |
| Show or hide the tools panel | <Kbd keys='Cmd+Option+B' /> | <Kbd keys='Ctrl+Alt+B' /> |
| Go back | <Kbd keys='Cmd+[' /> | <Kbd keys='Ctrl+[' /> |
| Go forward | <Kbd keys='Cmd+]' /> | <Kbd keys='Ctrl+]' /> |
| Find in page | <Kbd keys='Cmd+F' /> | <Kbd keys='Ctrl+F' /> |
| Start a new session (desktop app only) | <Kbd keys='Cmd+N' /> | <Kbd keys='Ctrl+N' /> |

## Session tool shortcuts

In an open session, these show or hide a tool in the tools panel beside the chat. They don't respond while the tools panel is expanded.

| Action | macOS | Windows and Linux |
| --- | --- | --- |
| Show or hide **Changes** | <Kbd keys='Cmd+E' /> | <Kbd keys='Ctrl+E' /> |
| Show or hide **Files** | <Kbd keys='Cmd+P' /> | <Kbd keys='Ctrl+P' /> |
| Show or hide **Side chat** | <Kbd keys='Cmd+Option+S' /> | <Kbd keys='Ctrl+Alt+S' /> |
| Show or hide **Browser** (desktop app only) | <Kbd keys='Cmd+Shift+B' /> | <Kbd keys='Ctrl+Shift+B' /> |

## Open a terminal

Sessions on your computer or on a cloud computer have a **Terminal** pane beside the chat. Press <Kbd keys='Cmd+J' /> on macOS or <Kbd keys='Ctrl+J' /> on Windows and Linux to open or close it, or choose **Toggle Terminal** in the command palette.

The terminal runs a shell on the session's machine: your computer for a local session, or the cloud computer for a remote one. It isn't available while that machine is disconnected.

<RelatedLinks>
  <RelatedLink href='/factory-app/overview' title='Factory App'>
    What the app brings to your Droid workflow.
  </RelatedLink>
  <RelatedLink href='/droid-cli/cli-reference#keyboard-shortcuts' title='Droid CLI keyboard shortcuts'>
    Shortcuts for the interactive terminal interface.
  </RelatedLink>
</RelatedLinks>
