# 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           | Cmd + I or Cmd + L | Ctrl + I or Ctrl + L |
| Inline edit                | Cmd + K            | Ctrl + K             |
| Mode Menu                  | Cmd + .            | Ctrl + .             |
| Rotate between Agent modes | Shift + Tab        | Shift + Tab          |
| Loop between AI models     | Cmd + /            | Ctrl + /             |
| Accept Tab suggestion      | Tab                | Tab                  |

## How do I customize shortcuts?

1. Open keyboard shortcuts:
   - **Mac**: Press Cmd + R then Cmd + S
   - **Windows/Linux**: Press Ctrl + R then Ctrl + S
2. Search for the command you want to remap
3. Click the pencil icon next to it
4. Press your preferred key combination
5. Press Return to save

## Related

- [Keyboard shortcuts reference](https://cursor.com/docs/reference/keyboard-shortcuts.md)


---

## Sitemap

[Overview of all docs pages](/llms.txt)
