Overview of keyboard shortcuts in Cursor. See all keyboard shortcuts by pressing Ctrl+R then Ctrl+S or by opening command palette Ctrl+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 |
---|
Ctrl+I | Toggle Sidepanel (unless bound to mode) |
Ctrl+L | Toggle Sidepanel (unless bound to mode) |
Ctrl+E | Background Agent control panel |
Ctrl+. | Mode Menu |
Ctrl+/ | Loop between AI models |
Ctrl+Shift+J | Cursor settings |
Ctrl+, | General settings |
Ctrl+Shift+P | Command palette |
Chat
Shortcuts for the chat input box.
Shortcut | Action |
---|
Enter | Submit |
Ctrl+Shift+BackSpace | Cancel generation |
Ctrl+Shift+L with code selected | Add selected code as context |
Ctrl+V with code or log in clipboard | Add clipboard as context |
Ctrl+Shift+V with code or log in clipboard | Add clipboard to input box |
Ctrl+Enter | Accept all changes |
Ctrl+BackSpace | Reject all changes |
Tab | Cycle to next message |
Shift+Tab | Cycle to previous message |
Ctrl+Alt+/ | Model toggle |
Ctrl+N / Ctrl+R | New chat |
Ctrl+T | New chat tab |
Ctrl+[ | Previous chat |
Ctrl+] | Next chat |
Ctrl+W | Close chat |
Esc | Unfocus field |
Inline Edit
Shortcut | Action |
---|
Ctrl+K | Open |
Ctrl+Shift+K | Toggle input focus |
Enter | Submit |
Ctrl+Shift+BackSpace | Cancel |
Alt+Enter | Ask quick question |
Code Selection & Context
Shortcut | Action |
---|
@ | @-symbols |
# | Files |
/ | Shortcut Commands |
Ctrl+Shift+L | Add selection to Chat |
Ctrl+Shift+K | Add selection to Edit |
Ctrl+L | Add selection to new chat |
Ctrl+M | Toggle file reading strategies |
Ctrl+Arrow-Right | Accept next word of suggestion |
Ctrl+Enter | Search codebase in chat |
Select code, Ctrl+C, Ctrl+V | Add copied reference code as context |
Select code, Ctrl+C, Ctrl+Shift+V | Add copied code as text context |
Tab
Shortcut | Action |
---|
Tab | Accept suggestion |
Ctrl+Arrow-Right | Accept next word |
Terminal
Shortcut | Action |
---|
Ctrl+K | Open terminal prompt bar |
Ctrl+Enter | Run generated command |
Esc | Accept command |