Cursor keyboard shortcuts
Cursor puts the editor and an AI workspace side by side. Its official reference covers chat, inline edit, code context, autocomplete, terminal prompts, model controls, and the familiar editor navigation keys around them.
Windows, macOS, Linux · 46 shortcutsGeneral and panels
Open Cursor's command palette, settings, side panels, layouts, voice mode, and model controls.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Toggle the side panel | CtrlI | CmdI | CtrlI |
| Toggle the chat side panel | CtrlL | CmdL | CtrlL |
| Open Agent layout | CtrlE | CmdE | CtrlE |
| Open the mode menu | Ctrl. | Cmd. | Ctrl. |
| Loop through available models | Ctrl/ | Cmd/ | Ctrl/ |
| Open Cursor settings | CtrlShiftJ | CmdShiftJ | CtrlShiftJ |
| Toggle Voice Mode | CtrlShiftSpace | CmdShiftSpace | CtrlShiftSpace |
| Open general settings | Ctrl, | Cmd, | Ctrl, |
| Open the command palette | CtrlShiftP | CmdShiftP | CtrlShiftP |
Chat and sessions
Send, queue, cancel, navigate, and manage the conversations that sit beside the editor.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Send a nudge in the chat input | Enter | Enter | Enter |
| Queue a message | CtrlEnter | CtrlEnter | CtrlEnter |
| Force-send the chat messageCursor documents Ctrl+Enter as queue and Cmd+Enter or Ctrl+Enter as force-send according to the input state. | CtrlEnter | CmdEnter | CtrlEnter |
| Cancel generation | CtrlShiftBackspace | CmdShiftBackspace | CtrlShiftBackspace |
| Add selected code as context | CtrlShiftL | CmdShiftL | CtrlShiftL |
| Add clipboard content as context | CtrlV | CmdV | CtrlV |
| Paste clipboard content into chat input | CtrlShiftV | CmdShiftV | CtrlShiftV |
| Accept all suggested changesThe same key is context-sensitive in chat; use the visible action hint when queueing or sending. | CtrlEnter | CmdEnter | CtrlEnter |
| Reject all suggested changes | CtrlBackspace | CmdBackspace | CtrlBackspace |
| Move to the next chat message | Tab | Tab | Tab |
| Rotate through agent modes | ShiftTab | ShiftTab | ShiftTab |
| Toggle the model selector | CtrlAlt/ | CmdOption/ | CtrlAlt/ |
| Start a new chatCmd+R or Ctrl+R also starts a new chat from the chat view. | CtrlN | CmdN | CtrlN |
| Open a new chat tab | CtrlT | CmdT | CtrlT |
| Open the previous chat | Ctrl[ | Cmd[ | Ctrl[ |
| Open the next chat | Ctrl] | Cmd] | Ctrl] |
| Close the current chat | CtrlW | CmdW | CtrlW |
| Unfocus the chat input | Esc | Esc | Esc |
Inline edit
Open an inline edit, submit it, cancel it, or ask a quick question about the selected code.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Open inline edit | CtrlK | CmdK | CtrlK |
| Toggle focus in the inline-edit input | CtrlShiftK | CmdShiftK | CtrlShiftK |
| Submit inline edit | Enter | Enter | Enter |
| Cancel inline edit | CtrlShiftBackspace | CmdShiftBackspace | CtrlShiftBackspace |
| Ask a quick question instead of editing | AltEnter | OptionReturn | AltEnter |
Code context and suggestions
Attach code, search the codebase, change file-reading strategy, and accept suggestions one word at a time.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Open file, symbol, or other context mentions | @ | @ | @ |
| Open chat shortcut commands | / | / | / |
| Add the selection to a new chat | CtrlL | CmdL | CtrlL |
| Add the selection to inline edit | CtrlShiftK | CmdShiftK | CtrlShiftK |
| Add the selection to chat context | CtrlShiftL | CmdShiftL | CtrlShiftL |
| Toggle file-reading strategies | CtrlM | CmdM | CtrlM |
| Accept the next word of an inline suggestion | CtrlRight | CmdRight | CtrlRight |
| Search the codebase in chat | CtrlEnter | CmdEnter | CtrlEnter |
| Copy selected code and paste it as a referenceCursor documents this as a copy then paste gesture when selected code is used as context. | CtrlCCtrlV | CmdCCmdV | CtrlCCtrlV |
| Paste copied code as text contextCursor documents this as a copy then paste gesture. | CtrlCCtrlShiftV | CmdCCmdShiftV | CtrlCCtrlShiftV |
| Accept an inline suggestion | Tab | Tab | Tab |
Terminal prompt
Ask Cursor to generate a terminal command, run it, or accept it into the terminal without running it.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Open the terminal prompt bar | CtrlK | CmdK | CtrlK |
| Run the generated terminal command | CtrlEnter | CmdEnter | CtrlEnter |
| Accept the generated command without running it | Esc | Esc | Esc |