Cursor IDE Keyboard Shortcuts
Speed up the Cursor AI code editor with shortcuts for chat, Agent, inline edit, context, and the integrated terminal. Cursor extends VS Code—defaults below follow Cursor’s keyboard docs; on Windows/Linux, Cmd maps to Ctrl and Opt to Alt in most chords.
General & Command Palette
Toggle side panel
CtrlIorCtrlL
Toggle Agent layout
CtrlE
Mode menu
Ctrl.
Loop between AI models
Ctrl/
Open Cursor settings
CtrlShiftJ
Toggle voice mode
CtrlShiftSpace
General / editor settings
Ctrl,
Command palette
CtrlShiftP
Keyboard shortcuts editor (VS Code chord)
CtrlKCtrlS
AI Chat
Nudge (default in chat)
Enter
Queue message
CtrlEnter
New line in chat (without sending)
ShiftEnter
Cancel generation
CtrlShiftBackspace
Add selected code to chat
CtrlShiftL
Paste clipboard as context
CtrlV
Paste clipboard into input box
CtrlShiftV
Reject all suggested changes
CtrlBackspace
Next message in thread
Tab
Rotate Agent modes
ShiftTab
Model toggle
CtrlAlt/
New chat
CtrlN
New chat (alternate)
CtrlR
New chat tab
CtrlT
Previous chat
Ctrl[
Next chat
Ctrl]
Close chat
CtrlW
Unfocus chat field
Esc
Inline Edit (Composer)
Open inline edit
CtrlK
Toggle inline input focus
CtrlShiftK
Submit inline edit
Enter
Cancel inline edit
CtrlShiftBackspace
Ask quick question
AltEnter
Context & Selection
@-mentions in prompt
@
Shortcut commands in prompt
/
Add selection to Edit
CtrlShiftK
Add selection to new chat
CtrlL
Toggle file reading strategies
CtrlM
Accept next word of suggestion
Ctrl→
Search codebase from chat
CtrlEnter
Add copied code as reference context
SelectCtrlCCtrlV
Add copied code as plain text context
CtrlCCtrlShiftV
Inline Completions (Tab)
Accept suggestion
Tab
Accept next word
Ctrl→
Integrated Terminal
Open terminal prompt bar
CtrlK(in terminal)
Run generated command
CtrlEnter
Accept command
Esc
Editor Baseline (VS Code)
Quick open file
CtrlP
Find in files
CtrlShiftF
Toggle terminal
Ctrl`
Toggle primary sidebar
CtrlB
Go to line
CtrlG
Format document
ShiftAltF
General & Command Palette
Toggle side panel
⌘Ior⌘L
Toggle Agent layout
⌘E
Mode menu
⌘.
Loop between AI models
⌘/
Open Cursor settings
⌘⇧J
Toggle voice mode
⌘⇧Space
General / editor settings
⌘,
Command palette
⌘⇧P
Open all shortcuts (Cursor chord)
⌘R⌘S
Keyboard shortcuts editor
⌘K⌘S
AI Chat
Nudge (default)
Return
Queue message
CtrlReturn
Force send (while typing) or accept all AI changes (when offered)
⌘Return
Cancel generation
⌘⇧⌫
Add selected code to chat
⌘⇧L
Paste clipboard as context
⌘V
Paste clipboard into input box
⌘⇧V
Reject all suggested changes
⌘⌫
Next message
Tab
Rotate Agent modes
⇧Tab
Model toggle
⌘⌥/
New chat
⌘N
New chat (alternate)
⌘R
New chat tab
⌘T
Previous chat
⌘[
Next chat
⌘]
Close chat
⌘W
Unfocus field
Esc
Inline Edit (Composer)
Open inline edit
⌘K
Toggle inline input focus
⌘⇧K
Submit
Return
Cancel
⌘⇧⌫
Ask quick question
⌥Return
Context & Selection
@-mentions
@
Shortcut commands
/
Add selection to Chat
⌘⇧L
Add selection to Edit
⌘⇧K
Add selection to new chat
⌘L
Toggle file reading strategies
⌘M
Accept next word of suggestion
⌘→
Search codebase in chat
⌘Return
Add copied reference code as context
⌘C⌘V
Add copied code as text context
⌘C⌘⇧V
Inline Completions (Tab)
Accept suggestion
Tab
Accept next word
⌘→
Integrated Terminal
Open terminal prompt bar
⌘K
Run generated command
⌘Return
Accept command
Esc
Editor Baseline (VS Code)
Quick open file
⌘P
Find in files
⌘⇧F
Toggle terminal
⌘`
Toggle primary sidebar
⌘B
Go to line
⌘G
Format document
⇧⌥F
Also see: VS Code • IntelliJ • Sublime Text