Skip to main content

Command Palette

Search for a command to run...

Get Started

Keyboard Shortcuts

Overview of keyboard shortcuts in Cursor. See all keyboard shortcuts by pressing Cmd RCtrl R then Cmd SCtrl S or by opening command palette Cmd Shift PCtrl Shift P and searching for Keyboard Shortcuts.

Learn more about Keyboard Shortcuts in Cursor with Key Bindings for VS Code as a baseline for Cursor's keybindings.

All Cursor keybindings, including Cursor-specific features, can be remapped in Keyboard Shortcuts settings.

General

ShortcutAction
Cmd ICtrl IToggle Sidepanel (unless bound to mode)
Cmd LCtrl LToggle Sidepanel (unless bound to mode)
Cmd ECtrl EToggle Agent layout
Cmd .Ctrl .Mode Menu
Cmd /Ctrl /Loop between AI models
Cmd Shift JCtrl Shift JCursor settings
Cmd Shift SpaceCtrl Shift SpaceToggle Voice Mode
Cmd ,Ctrl ,General settings
Cmd Shift PCtrl Shift PCommand palette

Chat

Shortcuts for the chat input box.

ShortcutAction
ReturnEnterNudge (default)
Ctrl ReturnCtrl EnterQueue message
Cmd ReturnCtrl Enter when typingForce send message
Cmd Shift BackspaceCtrl Shift BackspaceCancel generation
Cmd Shift LCtrl Shift L with code selectedAdd selected code as context
Cmd VCtrl V with code or log in clipboardAdd clipboard as context
Cmd Shift VCtrl Shift V with code or log in clipboardAdd clipboard to input box
Cmd ReturnCtrl Enter with suggested changesAccept all changes
Cmd BackspaceCtrl BackspaceReject all changes
TabCycle to next message
Shift TabRotate between Agent modes
Cmd Opt /Ctrl Alt /Model toggle
Cmd NCtrl N / Cmd RCtrl RNew chat
Cmd TCtrl TNew chat tab
Cmd [Ctrl [Previous chat
Cmd ]Ctrl ]Next chat
Cmd WCtrl WClose chat
EscapeEscUnfocus field

Inline Edit

ShortcutAction
Cmd KCtrl KOpen
Cmd Shift KCtrl Shift KToggle input focus
ReturnEnterSubmit
Cmd Shift BackspaceCtrl Shift BackspaceCancel
Opt ReturnAlt EnterAsk quick question

Code Selection & Context

ShortcutAction
@@-mentions
/Shortcut Commands
Cmd Shift LCtrl Shift LAdd selection to Chat
Cmd Shift KCtrl Shift KAdd selection to Edit
Cmd LCtrl LAdd selection to new chat
Cmd MCtrl MToggle file reading strategies
Cmd →Ctrl Arrow RightAccept next word of suggestion
Cmd ReturnCtrl EnterSearch codebase in chat
Select code, Cmd CCtrl C, Cmd VCtrl VAdd copied reference code as context
Select code, Cmd CCtrl C, Cmd Shift VCtrl Shift VAdd copied code as text context

Tab

ShortcutAction
TabAccept suggestion
Cmd →Ctrl Arrow RightAccept next word

Terminal

ShortcutAction
Cmd KCtrl KOpen terminal prompt bar
Cmd ReturnCtrl EnterRun generated command
EscapeEscAccept command