Keyboard shortcuts
Cursor uses the same default shortcuts as VS Code, plus shortcuts for AI features.
What are the key AI shortcuts?
| Action | Mac | Windows/Linux |
|---|---|---|
| Toggle Sidepanel | CmdCtrl + I or CmdCtrl + L | Ctrl + I or Ctrl + L |
| Inline edit | CmdCtrl + K | Ctrl + K |
| Mode Menu | CmdCtrl + . | Ctrl + . |
| Rotate between Agent modes | Shift + Tab | Shift + Tab |
| Loop between AI models | CmdCtrl + / | Ctrl + / |
| Accept Tab suggestion | Tab | Tab |
How do I customize shortcuts?
- Open keyboard shortcuts: Mac: Press CmdCtrl + R then CmdCtrl + S Windows/Linux: Press Ctrl + R then Ctrl + S
- Search for the command you want to remap
- Click the pencil icon next to it
- Press your preferred key combination
- Press ReturnEnter to save
Related
- Keyboard shortcuts reference