Cursor keyboard shortcuts

Cursor is a code editor built around AI chat and agents, forked from VS Code. Its shortcuts toggle panels, send and queue chat messages, switch modes and models, add code to context, and accept suggestions.

Windows, macOS, Linux · 34 shortcuts

General and panels

Open Cursor's command palette, settings, side panel, layouts, voice mode, and model controls.

ActionShortcuts
Toggle the side panelThese keys toggle the side panel unless they are bound to a mode.
Windows / LinuxCtrl + IorCtrl + LorCtrl + K
macOSCmd + IorCmd + LorCmd + K
Toggle the Agent layout
Windows / LinuxCtrl + E
macOSCmd + E
Open the mode menu
Windows / LinuxCtrl + .
macOSCmd + .
Loop through available models
Windows / LinuxCtrl + /
macOSCmd + /
Open Cursor settings
Windows / LinuxCtrl + Shift + J
macOSCmd + Shift + J
Toggle Voice Mode
Windows / LinuxCtrl + Shift + Space
macOSCmd + Shift + Space
Open general settings
Windows / LinuxCtrl + ,
macOSCmd + ,
Open the command palette
Windows / LinuxCtrl + Shift + P
macOSCmd + Shift + P

Chat and sessions

Send, queue, cancel, navigate, and manage the conversations that sit beside the editor.

ActionShortcuts
Queue a message
Windows / macOS / LinuxEnter
Force-send the chat messageWhile typing in the chat input.
Windows / LinuxCtrl + Enter
macOSCmd + Enter
Cancel generation
Windows / LinuxCtrl + Shift + Backspace
macOSCmd + Shift + Backspace
Add selected code as context
Windows / LinuxCtrl + Shift + L
macOSCmd + Shift + L
Add clipboard content as contextWhen the clipboard holds code or a log.
Windows / LinuxCtrl + V
macOSCmd + V
Paste clipboard content into chat inputWhen the clipboard holds code or a log.
Windows / LinuxCtrl + Shift + V
macOSCmd + Shift + V
Accept all suggested changesWhen Cursor has suggested changes.
Windows / LinuxCtrl + Enter
macOSCmd + Enter
Reject all suggested changesWhen Cursor has suggested changes.
Windows / LinuxCtrl + Shift + Backspace
macOSCmd + Shift + Backspace
Move to the next chat message
Windows / macOS / LinuxTab
Rotate through agent modes
Windows / macOS / LinuxShift + Tab
Toggle the model selector
Windows / LinuxCtrl + Alt + /
macOSCmd + Option + /
Start a new chat
Windows / LinuxCtrl + NorCtrl + R
macOSCmd + NorCmd + R
Open a new chat tab
Windows / LinuxCtrl + T
macOSCmd + T
Open the previous chat
Windows / LinuxCtrl + [
macOSCmd + [
Open the next chat
Windows / LinuxCtrl + ]
macOSCmd + ]
Close the current chat
Windows / LinuxCtrl + W
macOSCmd + W
Unfocus the chat input
Windows / macOS / LinuxEsc

Code context and suggestions

Attach code, search the codebase, and accept suggestions whole or one word at a time.

ActionShortcuts
Open file, symbol, or other context mentions
Windows / macOS / Linux@
Open chat shortcut commands
Windows / macOS / Linux/
Add the selection to a new chat
Windows / LinuxCtrl + LorCtrl + K
macOSCmd + LorCmd + K
Add the selection to chat context
Windows / LinuxCtrl + Shift + L
macOSCmd + Shift + L
Accept the next word of an inline suggestion
Windows / LinuxCtrl + Right
macOSCmd + Right
Search the codebase in chat
Windows / LinuxCtrl + Enter
macOSCmd + Enter
Copy selected code and paste it as a referenceSelect the code first, then copy it and paste it into chat.
Windows / LinuxCtrl + C then Ctrl + V
macOSCmd + C then Cmd + V
Paste copied code as text contextSelect the code first, then copy it and paste it into chat.
Windows / LinuxCtrl + C then Ctrl + Shift + V
macOSCmd + C then Cmd + Shift + V
Accept an inline suggestion
Windows / macOS / LinuxTab

Source

official Cursor keyboard shortcuts · Checked

Mac uses Cmd where Windows and Linux use Ctrl. Every shortcut can be remapped in Keyboard Shortcuts settings.

Make a printable Cursor sheet