Keyboard Shortcuts Mastery
You are mid-flow, implementing a feature. You need to ask the AI about a function in another file. You reach for the mouse, click the chat panel, click back to the editor, select some code, right-click, find “Add to Chat” in the menu, switch back to chat, type your question. Thirty seconds gone, flow state broken. The same task with keyboard shortcuts takes three seconds: Cmd+Shift+L to add the selection, Cmd+L to focus chat, type, enter.
The difference between a developer who uses shortcuts and one who does not is not just speed — it is the preservation of focus. Every mouse interaction is a micro-interruption that pulls you out of the problem you are solving.
What You’ll Walk Away With
Section titled “What You’ll Walk Away With”- The 12 shortcuts that cover 90% of Cursor-specific workflows
- Workflow-based shortcut chains that replace multi-step mouse operations
- Platform-specific variations for macOS and Windows/Linux
- A two-week practice plan for building muscle memory
The Essential Twelve
Section titled “The Essential Twelve”These are the shortcuts that matter most, organized by frequency of use rather than alphabetically. Learn these first and you will cover the vast majority of your Cursor interactions.
Tier 1: Use These Every Session
Section titled “Tier 1: Use These Every Session”| Shortcut (Mac) | Shortcut (Win/Linux) | What It Does |
|---|---|---|
Cmd+I | Ctrl+I | Open/focus the Agent chat panel |
Cmd+L | Ctrl+L | Toggle the side panel (or add selection to new chat) |
Cmd+K | Ctrl+K | Inline edit — edit selected code with natural language |
Tab | Tab | Accept AI suggestion (autocomplete or next suggestion) |
Cmd+. | Ctrl+. | Open mode menu (switch between Agent/Ask/Plan/Debug) |
Tier 2: Use These Daily
Section titled “Tier 2: Use These Daily”| Shortcut (Mac) | Shortcut (Win/Linux) | What It Does |
|---|---|---|
Cmd+Shift+L | Ctrl+Shift+L | Add selected code as context to the current chat |
Cmd+Enter | Ctrl+Enter | Accept all AI-suggested changes |
Cmd+Backspace | Ctrl+Backspace | Reject all AI-suggested changes |
Cmd+N | Ctrl+N | Start a new chat (fresh context) |
Cmd+/ | Ctrl+/ | Cycle between AI models |
Cmd+Right | Ctrl+Right | Accept the next word of a suggestion (partial accept) |
Shift+Tab | Shift+Tab | Rotate between Agent modes in the chat input |
Workflow Chains
Section titled “Workflow Chains”Individual shortcuts are useful. Chaining them together is where the real speed comes from.
The Quick Fix Chain
Section titled “The Quick Fix Chain”When you see an error in your code:
- Select the problematic code (double-click a word, or
Cmd+Dto expand selection) - Press
Cmd+Kto open inline edit - Type “fix this error” or a more specific instruction
- Press
Enterto submit - Press
Tabto accept the fix
Total time: 3-5 seconds. No mouse, no chat panel, no context switching.
The Context Builder Chain
Section titled “The Context Builder Chain”When you need to ask the AI about code spread across multiple files:
- Open the first relevant file and select the key code
- Press
Cmd+Shift+Lto add it as context - Navigate to the second file, select relevant code
- Press
Cmd+Shift+Lagain - Press
Cmd+Lto focus the chat - Type your question and press
Enter
The Explore-Then-Implement Chain
Section titled “The Explore-Then-Implement Chain”For features where you need to understand existing code first:
- Press
Cmd+.and select Ask mode - Type your exploration question (“How does the payment flow work?”)
- Read the answer
- Press
Cmd+.and switch to Agent mode - Type your implementation instruction with references from the exploration
Terminal AI Chain
Section titled “Terminal AI Chain”When you need to run a command you do not remember:
- Click into the terminal (or
Ctrl+backtick) - Press
Cmd+Kin the terminal - Type what you want in plain English (“list my 5 most recent git branches sorted by date”)
- Press
Cmd+Enterto run the generated command
Clipboard as Context
Section titled “Clipboard as Context”One of Cursor’s most underrated features: pasting code or logs from your clipboard automatically offers to add them as context.
- Copy code from a browser or another file
- Press
Cmd+Vin the chat input — Cursor offers to add it as reference context - Press
Cmd+Shift+Vto paste it directly as text in the input
This is especially useful for pasting error logs, stack traces, or code from documentation.
Partial Acceptance with Cmd+Right
Section titled “Partial Acceptance with Cmd+Right”When Tab completion suggests a long block of code but only the first part is correct:
Cmd+Rightaccepts the next word only- Keep pressing
Cmd+Rightto accept word by word - Press
Escapewhen you have accepted enough
This gives you fine-grained control over AI suggestions without accepting or rejecting the entire block.
Customizing Shortcuts
Section titled “Customizing Shortcuts”Access Keyboard Settings
Section titled “Access Keyboard Settings”Press Cmd+Shift+P (command palette), type “Keyboard Shortcuts”, and you can rebind any Cursor shortcut.
All Cursor keybindings are listed alongside standard VS Code keybindings. Search for “cursor” to see Cursor-specific commands.
The Two-Week Muscle Memory Plan
Section titled “The Two-Week Muscle Memory Plan”Week 1: Core Shortcuts
Section titled “Week 1: Core Shortcuts”Focus exclusively on these five shortcuts. Use them for every interaction, even if it feels slower than the mouse at first:
Cmd+Kfor every inline editTabfor every suggestion acceptanceCmd+Ito open chat (never click the panel)Cmd+Lto add selectionsCmd+Nfor new chats
Week 2: Speed Shortcuts
Section titled “Week 2: Speed Shortcuts”Add these to your workflow:
Cmd+.for mode switchingCmd+Shift+Lfor context buildingCmd+Enter/Cmd+Backspacefor batch accept/rejectCmd+Kin terminal for command generationCmd+Rightfor partial acceptance
When This Breaks
Section titled “When This Breaks”Shortcuts conflict with other extensions. Check for conflicts in Keyboard Shortcuts settings. Search for the key combination to see all commands bound to it.
Cmd+K does not open inline edit. Verify you are in the editor, not the terminal. Cmd+K behavior changes based on focus: in the editor it opens inline edit, in the terminal it opens the AI command prompt.
Tab does not accept suggestions. Check that Cursor Tab is enabled in settings. Also verify that another extension (like Copilot) is not competing for the Tab key.
What’s Next
Section titled “What’s Next”- Prompt Templates — Now that you can navigate fast, optimize what you say to the AI
- Context Patterns — Master the
@mention system for precise context - Time Savers — More daily habits that compound into significant time savings