Essential Cursor Keyboard Shortcuts
Master Cursor's keyboard shortcuts for AI features. Cmd+K, Cmd+L, Composer, and more for maximum productivity.
Step-by-step
Essential Cursor Keyboard Shortcuts
Learn the core AI shortcuts
Cmd+K: inline edit/generate. Cmd+L: open chat panel. Cmd+I: open Composer for multi-file edits. These three shortcuts are the foundation of Cursor's AI workflow.
Master Tab completion
When Cursor shows ghost text (grayed-out code suggestions), press Tab to accept the full suggestion. Press Cmd+→ to accept word by word. Press Escape to dismiss.
Use selection shortcuts
Select code before pressing Cmd+K or Cmd+L to include it as context. Cmd+Shift+L opens chat with the current selection pre-filled. These shortcuts help you ask targeted questions.
Navigate with standard VS Code shortcuts
All VS Code shortcuts work in Cursor: Cmd+P (file finder), Cmd+Shift+F (project search), Cmd+B (toggle sidebar), Cmd+` (toggle terminal). Your muscle memory transfers completely.
Tips
Pro tips
- *
Customize AI shortcuts in Keyboard Shortcuts settings (Cmd+K Cmd+S) if the defaults conflict
- *
Use Cmd+Enter in chat to send a message (Enter adds a new line)
- *
Cmd+Shift+I toggles Composer in a floating window vs sidebar mode
Related guides