A high level overview of the keyboard shortcuts and keybindings in Cursor. You can see all keyboard shortcuts by pressing Cmd + R then Cmd + S.

To learn more about Keyboard Shortcuts in Cursor, check out the Key Bindings for VS Code as it serves as a good baseline for Cursor’s keybindings.

All of Cursor’s keybindings, including those for Cursor-specific features, can be remapped in the Keyboard Shortcuts settings page.

All Cmd keys can be replaced with Ctrl on Windows.

General

ShortcutAction
Cmd + I (⌘I)Toggle Sidepanel (unless binded to mode)
Cmd + L (⌘L)Toggle Sidepan (unless binded to mode)
Cmd + . (⌘.)Open Mode Menu
Cmd + / (⌘/)Loop between AI models
Cmd + Shift + J (⌘⇧J)Open Cursor settings
Cmd + , (⌘,)Open General settings
Cmd + Shift + P (⌘⇧P)Open command palette

Chat

These shortcuts work while focused on the chat input box.

ShortcutAction
EnterSubmit
Cmd + Shift + Backspace (⌘⇧⌫)Cancel generation
Cmd + L (⌘L) with code selectedAdd selected code as context
Cmd + Shift + L (⌘⇧L) with code selectedAdd selected code as context
Cmd + Enter (⌘⏎)Accept all changes
Cmd + Backspace (⌘⌫)Reject all changes
TabCycle to next message
Shift + Tab (⇧⇥)Cycle to previous message
Cmd + Alt + / (⌘⌥/)Open model toggle
Cmd + N (⌘N) / Cmd + R (⌘R)Create new chat
Cmd + Shift + K (⌘⇧K)Open composer as bar
Cmd + [ (⌘[)Open previous chat
Cmd + ] (⌘])Open next chat
Cmd + W (⌘W)Close chat
EscUnfocus the field

Cmd+K

ShortcutAction
Cmd + KOpen
Cmd + Shift + KToggle input focus
EnterSubmit
Cmd + Shift + Backspace (⌘⇧⌫)Cancel
Option + EnterAsk quick question

Code Selection & Context

ShortcutAction
@@-symbols
#Files
/Shortcut Commands
Cmd + Shift + LAdd selection to Chat
Cmd + Shift + KAdd selection to Edit
Cmd + LAdd selection to new chat
Cmd + MToggle file reading strategies
Cmd + →Accept next word of suggestion
Cmd + EnterSearch codebase in chat
Select code, Cmd + C, Cmd + VAdd copied reference code as context
Select code, Cmd + C, Cmd + Shift + VAdd copied code as text context

Tab

ShortcutAction
TabAccept suggestion
Cmd + →Accept next word

Terminal

ShortcutAction
Cmd + KOpen terminal prompt bar
Cmd + EnterRun generated command
EscAccept command

Was this page helpful?