Essential Keyboard Shortcuts in Cursor
Master Cursor's keyboard shortcuts to boost your productivity. This comprehensive guide covers the most useful shortcuts for coding and AI features.
General Navigation
Basic Editor Controls
Ctrl/Cmd + S
: Save fileCtrl/Cmd + N
: New fileCtrl/Cmd + W
: Close tabCtrl/Cmd + P
: Quick file openCtrl/Cmd + Shift + P
: Command palette
Code Navigation
Ctrl/Cmd + F
: Find in fileCtrl/Cmd + Shift + F
: Find in projectCtrl/Cmd + G
: Go to lineF12
: Go to definitionAlt + Left/Right
: Navigate back/forward
AI Features
Chat Interface
Ctrl/Cmd + I
: Open inline chatCtrl/Cmd + L
: Add current file to chatCtrl/Cmd + Enter
: Submit chat messageEsc
: Close chat panel
Code Generation
Ctrl/Cmd + K
: Generate code suggestionTab
: Accept suggestionEsc
: Dismiss suggestionAlt +
: Previous suggestionAlt +
: Next suggestion
Editor Features
Code Editing
Ctrl/Cmd + X
: Cut lineCtrl/Cmd + C
: Copy lineCtrl/Cmd + V
: PasteAlt + Up/Down
: Move line up/downCtrl/Cmd + /
: Toggle comment
Multi-Cursor
Alt + Click
: Add cursorCtrl/Cmd + D
: Select next occurrenceCtrl/Cmd + U
: Undo last selectionAlt + Shift + I
: Add cursor to line ends
Workspace Management
Window Control
Ctrl/Cmd + B
: Toggle sidebarCtrl/Cmd + J
: Toggle terminalCtrl/Cmd + Shift + E
: Focus explorerCtrl/Cmd + Shift + G
: Source control
Split Editor
Ctrl/Cmd + \
: Split editor rightCtrl/Cmd + K Z
: Zen modeCtrl/Cmd + 1/2/3
: Focus editor group
Debugging
Debug Controls
F5
: Start/Continue debuggingF9
: Toggle breakpointF10
: Step overF11
: Step intoShift + F11
: Step out
Customization
How to Modify Shortcuts
- Open Settings (
Ctrl/Cmd + ,
) - Search for "keyboard shortcuts"
- Find the command to modify
- Click the pencil icon
- Enter new key combination
Tip: Start with the most commonly used shortcuts and gradually learn more as you become comfortable. Focus on shortcuts that match your workflow patterns.
Best Practices
-
Learning Curve
- Start with basic shortcuts
- Add new ones gradually
- Practice regularly
- Create muscle memory
-
Efficiency Tips
- Use keyboard over mouse
- Learn alternative shortcuts
- Create custom combinations
- Document your favorites
-
Common Patterns
- Notice command patterns
- Group similar shortcuts
- Understand modifier keys
- Remember context
Last Updated: April 2025
Keywords: cursor, cursor editor, keyboard shortcuts, hotkeys, productivity, cursor navigation, editor shortcuts