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
.
Reference the Key Bindings for VS Code as it serves as a good baseline for Cursor’s keybindings.
All Cmd
keys can be replaced with Ctrl
on Windows.
General
Shortcut | Action |
---|
Cmd + I | Open Composer |
Cmd + L | Open Chat |
Cmd + . | Toggle Agent in Composer |
Cmd + / | Toggle between AI models |
Cmd + Alt + L | Open Chat & Composer history |
Cmd + Shift + J | Open Cursor settings |
Cmd + Shift + P | Open command palette |
Chat
Shortcut | Action |
---|
Cmd + Enter | Submit with codebase |
Enter | Submit |
↑ | Select previous message |
Composer
Shortcut | Action |
---|
Cmd + Backspace | Cancel generation |
Cmd + Enter | Accept all changes |
Cmd + Backspace | Reject all changes |
Tab | Cycle to next message |
Shift + Tab | Cycle to previous message |
Cmd + Alt + / | Open model toggle |
Cmd + N | Create new composer |
Cmd + R | Create new composer |
Cmd + Shift + K | Open composer as bar |
Cmd + [ | Previous composer |
Cmd + ] | Next composer |
Cmd + W | Close composer |
↑ | Select previous message |
Cmd+K
Shortcut | Action |
---|
Cmd + K | Open |
Cmd + Shift + K | Toggle input focus |
Enter | Submit |
Option + Enter | Ask quick question |
Code Selection & Context
Shortcut | Action |
---|
@ | @-symbols |
# | Files |
Cmd + Shift + L | Add selection to Chat |
Cmd + Shift + K | Add selection to Edit |
Cmd + L | Add selection to new chat |
Cmd + M | Toggle file reading strategies |
Cmd + → | Accept next word of suggestion |
Cmd + Enter | Search codebase in chat |
Tab
Shortcut | Action |
---|
Tab | Accept suggestion |
Cmd + → | Accept next word |
Terminal
Shortcut | Action |
---|
Cmd + K | Open terminal prompt bar |
Cmd + Enter | Run generated command |
Esc | Accept command |