The complete guide to keyboard shortcuts for Cursor — the AI-first code editor built on VS Code.
Cursor combines VS Code's familiar interface with powerful AI features. The keyboard shortcuts below will help you code faster than ever — AI-assisted editing, refactoring, and debugging at your fingertips.
| Action | Windows / Linux | macOS |
|---|---|---|
| AI Chat Panel | Ctrl + L | Cmd + L |
| Inline AI Edit | Ctrl + K | Cmd + K |
| Accept AI Suggestion | Tab | Tab |
| Reject AI Suggestion | Escape | Escape |
| AI Code Complete | Ctrl + Space | Cmd + Space |
| Edit Selected Code | Ctrl + I | Cmd + I |
| Generate from Selection | Ctrl + Shift + Enter | Cmd + Shift + Enter |
| Quick Chat (Cursor) | Ctrl + Shift + L | Cmd + Shift + L |
| Stop AI Generation | Ctrl + C | Cmd + C |
| Toggle Terminal AI | Ctrl + ` + Ctrl | Cmd + ` + Cmd |
Cursor is built on VS Code, so all your favorite VS Code shortcuts work too:
| Action | Shortcut |
|---|---|
| Command Palette | Ctrl + Shift + P |
| Quick Open File | Ctrl + P |
| Find & Replace | Ctrl + H |
| Multi-cursor | Ctrl + D |
| Toggle Sidebar | Ctrl + B |