Cody registers four global keyboard shortcuts with Windows when the application starts. Unlike regular hotkeys, these shortcuts fire system-wide — you do not need to click into Cody first. They work whether the full assistant panel is open, minimized, or hidden behind the floating pet widget.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/miu-ll/Cody-assistant/llms.txt
Use this file to discover all available pages before exploring further.
Shortcuts are registered on app startup via Electron’s
globalShortcut module and automatically unregistered when Cody quits (app.on('will-quit', () => globalShortcut.unregisterAll())). If another application has already claimed one of these combinations, Cody logs a warning to startup.log and that specific shortcut silently does nothing.Shortcut reference
| Shortcut | Action string | Description |
|---|---|---|
Win + Shift + C | toggle | Open the Cody assistant panel, or close it back to the pet widget if it is already focused |
Win + Shift + T | quick-task | Bring Cody to the foreground and immediately open the quick task creation dialog |
Win + Shift + S | sync | Force an immediate Outlook sync without opening the full panel |
Win + Shift + F | focus | Toggle Focus Mode on or off — starts a 25-minute focus session if none is active, ends the current session if one is running |
How shortcuts work
Each shortcut is registered inelectron/main/index.ts and follows one of two paths:
- Window shortcuts (
Win+Shift+C,Win+Shift+F): handled entirely in the main process — no IPC message is sent to the renderer. - Renderer shortcuts (
Win+Shift+T,Win+Shift+S): the main process sends ashortcutIPC event to the assistant window’swebContents, carrying an action string. The renderer reacts without any round-trip delay.
Listening for shortcuts in the renderer
The preload layer exposes a typedonShortcut subscription via window.desktop. Register a callback once — for example inside a useEffect in your root component — and dispose it on unmount:
onShortcut function is defined in electron/preload/index.ts:
Shortcut behaviour details
Win + Shift + C
Toggle panel. If the assistant window is visible and focused, it hides and the pet widget returns. If the panel is hidden or minimized, it opens and takes focus. Useful for a quick peek and dismiss.
Win + Shift + T
Quick task. Cody opens and immediately pops the task creation dialog. Designed for zero-friction capture — press, type the task, press Enter, and go back to what you were doing.
Win + Shift + S
Force sync. Triggers a fresh Outlook COM scan without opening the full panel. The sidebar “Last synced” timestamp updates after completion.
Win + Shift + F
Focus Mode. One press starts a 25-minute focus session (suppresses non-meeting notifications). A second press ends the session early and shows how many notifications were suppressed.