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 shortcuts

General and panels

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

ActionWindowsmacOSLinux
Toggle the side panelCtrlICmdICtrlI
Toggle the chat side panelCtrlLCmdLCtrlL
Open Agent layoutCtrlECmdECtrlE
Open the mode menuCtrl.Cmd.Ctrl.
Loop through available modelsCtrl/Cmd/Ctrl/
Open Cursor settingsCtrlShiftJCmdShiftJCtrlShiftJ
Toggle Voice ModeCtrlShiftSpaceCmdShiftSpaceCtrlShiftSpace
Open general settingsCtrl,Cmd,Ctrl,
Open the command paletteCtrlShiftPCmdShiftPCtrlShiftP

Chat and sessions

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

ActionWindowsmacOSLinux
Send a nudge in the chat inputEnterEnterEnter
Queue a messageCtrlEnterCtrlEnterCtrlEnter
Force-send the chat messageCursor documents Ctrl+Enter as queue and Cmd+Enter or Ctrl+Enter as force-send according to the input state.CtrlEnterCmdEnterCtrlEnter
Cancel generationCtrlShiftBackspaceCmdShiftBackspaceCtrlShiftBackspace
Add selected code as contextCtrlShiftLCmdShiftLCtrlShiftL
Add clipboard content as contextCtrlVCmdVCtrlV
Paste clipboard content into chat inputCtrlShiftVCmdShiftVCtrlShiftV
Accept all suggested changesThe same key is context-sensitive in chat; use the visible action hint when queueing or sending.CtrlEnterCmdEnterCtrlEnter
Reject all suggested changesCtrlBackspaceCmdBackspaceCtrlBackspace
Move to the next chat messageTabTabTab
Rotate through agent modesShiftTabShiftTabShiftTab
Toggle the model selectorCtrlAlt/CmdOption/CtrlAlt/
Start a new chatCmd+R or Ctrl+R also starts a new chat from the chat view.CtrlNCmdNCtrlN
Open a new chat tabCtrlTCmdTCtrlT
Open the previous chatCtrl[Cmd[Ctrl[
Open the next chatCtrl]Cmd]Ctrl]
Close the current chatCtrlWCmdWCtrlW
Unfocus the chat inputEscEscEsc

Inline edit

Open an inline edit, submit it, cancel it, or ask a quick question about the selected code.

ActionWindowsmacOSLinux
Open inline editCtrlKCmdKCtrlK
Toggle focus in the inline-edit inputCtrlShiftKCmdShiftKCtrlShiftK
Submit inline editEnterEnterEnter
Cancel inline editCtrlShiftBackspaceCmdShiftBackspaceCtrlShiftBackspace
Ask a quick question instead of editingAltEnterOptionReturnAltEnter

Code context and suggestions

Attach code, search the codebase, change file-reading strategy, and accept suggestions one word at a time.

ActionWindowsmacOSLinux
Open file, symbol, or other context mentions@@@
Open chat shortcut commands///
Add the selection to a new chatCtrlLCmdLCtrlL
Add the selection to inline editCtrlShiftKCmdShiftKCtrlShiftK
Add the selection to chat contextCtrlShiftLCmdShiftLCtrlShiftL
Toggle file-reading strategiesCtrlMCmdMCtrlM
Accept the next word of an inline suggestionCtrlRightCmdRightCtrlRight
Search the codebase in chatCtrlEnterCmdEnterCtrlEnter
Copy selected code and paste it as a referenceCursor documents this as a copy then paste gesture when selected code is used as context.CtrlCCtrlVCmdCCmdVCtrlCCtrlV
Paste copied code as text contextCursor documents this as a copy then paste gesture.CtrlCCtrlShiftVCmdCCmdShiftVCtrlCCtrlShiftV
Accept an inline suggestionTabTabTab

Terminal prompt

Ask Cursor to generate a terminal command, run it, or accept it into the terminal without running it.

ActionWindowsmacOSLinux
Open the terminal prompt barCtrlKCmdKCtrlK
Run the generated terminal commandCtrlEnterCmdEnterCtrlEnter
Accept the generated command without running itEscEscEsc

Make a printable Cursor sheet