--- title: Keyboard shortcuts description: Default keybindings (rebind them under Preferences → Keyboard Shortcuts). permalink: /docs/shortcuts/ --- | Action | macOS | Windows / Linux | When | |---|---|---|---| | Open chat | ⌘⇧L | Ctrl⇧L | | | New chat | ⌘⇧⌥L | Ctrl⇧AltL | | | Run tasks in parallel | ⌘⇧⌥P | Ctrl⇧AltP | | | Inline edit | ⌘⌥K | CtrlAltK | editor focused | | Generate terminal command | ⌘⌥K | CtrlAltK | terminal focused | | Capture screenshot to chat | ⌘⌥⇧S | CtrlAlt⇧S | | | Explain selection | ⌘⇧E | Ctrl⇧E | selection | ## Inside the chat | Key | Action | |---|---| | Enter | Send | | ⇧Enter | New line | | ⌘⇧Enter / Ctrl⇧Enter | Send in a **new tab** (another agent, in parallel) | | Alt↑ / Alt↓ | Previous / next chat tab | | Alt1 … Alt9 | Jump to tab N | | ← / → / Delete / F2 (tab focused) | Move between tabs / close / rename | | ⌘-click / ⇧-click a tab · ⌘A (tab focused) | Select several tabs (then ✕ / Delete closes them all) | | / | Slash command picker | | @ | Mention picker | | ↑ / ↓ / Tab | Navigate / accept picker | | ↑ / ↓ (empty input) | Previous / next prompt from history | | Esc | Close picker — or **stop the running agent** when no picker is open | | ⌘L / CtrlL | Focus the input | | ⌘I / CtrlI | Open the **@ Add context** menu | | Y / A / N | Answer a permission prompt: allow once / allow for session / deny | ## Commands (Command Palette → "LocalPilot") Open Chat · Open Chat in Editor · Move Chat To… · LocalPilot Menu… · New Chat · Show Chats… · Chat Actions… · Run Tasks in Parallel… · Stop All Agents · Select Model · Refresh Models · Settings · Welcome / Setup · Manage Model Providers… · Toggle Inline Completions · Reload Skills, Subagents & MCP Servers · Open Memory Notes · Clear Memory Notes… · Clear Chat History… · Install 'localpilot' CLI in PATH · Edit with LocalPilot (inline) · Generate Terminal Command… · Capture Screenshot to Chat · Attach Image to Chat… · Explain / Fix / Refactor / Generate Tests / Add Documentation · Fix Errors in File · Generate Commit Message · Keep All / Undo All Agent Changes · Show Logs