AI Tool Keyboard Shortcuts
Essential shortcuts for Claude Code, Cursor, Copilot, and more. Speed up your workflow.
shortcuts productivity tools
Keyboard > mouse. Learn these shortcuts, move faster.
Jump to your tool:
TL;DR: Tab to accept, Esc to reject, Cmd+K to edit inline.
Claude Code (Terminal)
| Action | Shortcut |
|---|---|
| Start Claude | claude |
| Continue chat | claude -c |
| Resume session | claude -r |
| Print mode (no interactive) | claude -p "prompt" |
| Cancel generation | Ctrl+C |
| Force stop | Ctrl+C (twice) |
| Clear screen | Ctrl+L |
| Exit | Ctrl+D or type /exit |
Slash Commands:
/help— Show commands/clear— Clear context/compact— Summarize and continue/cost— Show session cost
Cursor
| Action | Mac | Windows |
|---|---|---|
| Open Composer | Cmd+Shift+I | Ctrl+Shift+I |
| Inline edit | Cmd+K | Ctrl+K |
| Chat | Cmd+L | Ctrl+L |
| Accept suggestion | Tab | Tab |
| Reject suggestion | Esc | Esc |
| Next suggestion | Alt+] | Alt+] |
| Previous suggestion | Alt+[ | Alt+[ |
| Toggle AI panel | Cmd+Shift+A | Ctrl+Shift+A |
Pro Tips:
@fileto reference files in chat@codebaseto search entire project- Select code before
Cmd+Kfor targeted edits
GitHub Copilot
| Action | Mac | Windows |
|---|---|---|
| Accept suggestion | Tab | Tab |
| Reject suggestion | Esc | Esc |
| Next suggestion | Alt+] | Alt+] |
| Previous suggestion | Alt+[ | Alt+[ |
| Open Copilot panel | Ctrl+Enter | Ctrl+Enter |
| Trigger suggestion | Alt+\ | Alt+\ |
| Open Chat | Cmd+Shift+I | Ctrl+Shift+I |
Chat Commands:
/explain— Explain selected code/fix— Fix issues in selection/tests— Generate tests/docs— Generate documentation
Windsurf (Codeium)
| Action | Mac | Windows |
|---|---|---|
| Open Cascade | Cmd+Shift+L | Ctrl+Shift+L |
| Inline completion | Tab | Tab |
| Trigger completion | Alt+\ | Alt+\ |
| Accept word | Cmd+→ | Ctrl+→ |
| Accept line | Cmd+Shift+→ | Ctrl+Shift+→ |
| Dismiss | Esc | Esc |
VS Code (General)
| Action | Mac | Windows |
|---|---|---|
| Command palette | Cmd+Shift+P | Ctrl+Shift+P |
| Quick open file | Cmd+P | Ctrl+P |
| Find in files | Cmd+Shift+F | Ctrl+Shift+F |
| Toggle terminal | Ctrl+` | Ctrl+` |
| Split editor | Cmd+\ | Ctrl+\ |
| Close tab | Cmd+W | Ctrl+W |
| Go to definition | F12 | F12 |
| Peek definition | Alt+F12 | Alt+F12 |
Cline (VS Code Extension)
| Action | Mac | Windows |
|---|---|---|
| Open Cline | Cmd+Shift+P → “Cline” | Ctrl+Shift+P → “Cline” |
| New task | Click + in sidebar | Click + in sidebar |
| Cancel task | Click stop button | Click stop button |
| Approve action | Click checkmark | Click checkmark |
Universal Patterns
These work almost everywhere:
| What You Want | Common Shortcut |
|---|---|
| Accept AI suggestion | Tab |
| Reject suggestion | Esc |
| Cycle suggestions | Alt+] / Alt+[ |
| Open AI chat | Cmd/Ctrl+Shift+I or Cmd/Ctrl+L |
| Inline edit | Cmd/Ctrl+K |
Speed Tips
- Learn Tab and Esc first — These are your most-used shortcuts
- Use inline edit for small changes — Faster than chat for quick fixes
- Reference files in chat —
@filenameis faster than pasting - Select before prompting — Context helps AI understand scope
- Use keyboard, not mouse — Build the muscle memory
🎯 Practice Now
- Find your tool’s shortcuts above
- Pick 3 you don’t know yet
- Use ONLY those 3 shortcuts for the next hour
- By tomorrow, they’ll be muscle memory
Speed comes from repetition. Start today.
Related Resources
- Claude Code Setup Guide — Full Claude Code walkthrough
- Tool Comparison — Compare all tools
- Tools Directory — Find your tool
- Quick Wins — Productivity prompts
✓ Copied to clipboard!