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
| Shortcut | Action |
|---|---|
| Cmd ICtrl I | Toggle Sidepanel (unless bound to mode) |
| Cmd LCtrl L | Toggle Sidepanel (unless bound to mode) |
| Cmd ECtrl E | Toggle Agent layout |
| Cmd .Ctrl . | Mode Menu |
| Cmd /Ctrl / | Loop between AI models |
| Cmd Shift JCtrl Shift J | Cursor settings |
| Cmd Shift SpaceCtrl Shift Space | Toggle Voice Mode |
| Cmd ,Ctrl , | General settings |
| Cmd Shift PCtrl Shift P | Command palette |
Chat
Shortcuts for the chat input box.
| Shortcut | Action |
|---|---|
| ReturnEnter | Nudge (default) |
| Ctrl ReturnCtrl Enter | Queue message |
| Cmd ReturnCtrl Enter when typing | Force send message |
| Cmd Shift BackspaceCtrl Shift Backspace | Cancel generation |
| Cmd Shift LCtrl Shift L with code selected | Add selected code as context |
| Cmd VCtrl V with code or log in clipboard | Add clipboard as context |
| Cmd Shift VCtrl Shift V with code or log in clipboard | Add clipboard to input box |
| Cmd ReturnCtrl Enter with suggested changes | Accept all changes |
| Cmd BackspaceCtrl Backspace | Reject all changes |
| Tab | Cycle to next message |
| Shift Tab | Rotate between Agent modes |
| Cmd Opt /Ctrl Alt / | Model toggle |
| Cmd NCtrl N / Cmd RCtrl R | New chat |
| Cmd TCtrl T | New chat tab |
| Cmd [Ctrl [ | Previous chat |
| Cmd ]Ctrl ] | Next chat |
| Cmd WCtrl W | Close chat |
| EscapeEsc | Unfocus field |
Inline Edit
| Shortcut | Action |
|---|---|
| Cmd KCtrl K | Open |
| Cmd Shift KCtrl Shift K | Toggle input focus |
| ReturnEnter | Submit |
| Cmd Shift BackspaceCtrl Shift Backspace | Cancel |
| Opt ReturnAlt Enter | Ask quick question |
Code Selection & Context
| Shortcut | Action |
|---|---|
| @ | @-mentions |
| / | Shortcut Commands |
| Cmd Shift LCtrl Shift L | Add selection to Chat |
| Cmd Shift KCtrl Shift K | Add selection to Edit |
| Cmd LCtrl L | Add selection to new chat |
| Cmd MCtrl M | Toggle file reading strategies |
| Cmd →Ctrl Arrow Right | Accept next word of suggestion |
| Cmd ReturnCtrl Enter | Search codebase in chat |
| Select code, Cmd CCtrl C, Cmd VCtrl V | Add copied reference code as context |
| Select code, Cmd CCtrl C, Cmd Shift VCtrl Shift V | Add copied code as text context |
Tab
| Shortcut | Action |
|---|---|
| Tab | Accept suggestion |
| Cmd →Ctrl Arrow Right | Accept next word |
Terminal
| Shortcut | Action |
|---|---|
| Cmd KCtrl K | Open terminal prompt bar |
| Cmd ReturnCtrl Enter | Run generated command |
| EscapeEsc | Accept command |