Cursor keyboard shortcuts for Mac
57 shortcuts · Updated
These are the default Cursor keyboard shortcuts on macOS, curated from the official Cursor docs. Cursor is built on VS Code, so nearly every VS Code binding works unchanged - what is new are the AI shortcuts: Cmd I for the agent sidepanel, Cmd L for chat with your selection, Cmd K for inline edit, and Tab to accept autocomplete suggestions.
Nothing matches - try fewer letters, or an action word like "close" or "split".
Or stop looking them up. Super Shortcuts puts the Cursor commands you actually use one hyper key away: hold it, see every command for the app you're in, release a key to run it. No memorizing - the cheat sheet is the shortcut.
Get Super ShortcutsChat & Agent15
| Shortcut | Action |
|---|---|
| Command I⌘I | Toggle the AI sidepanel (Agent) |
| Command L⌘L | Toggle the AI sidepanel, adding the current selection to chat |
| Command E⌘E | Toggle the agent layout |
| Command .⌘. | Open the mode menu (switch between Agent, Ask, and custom modes) |
| Shift Tab⇧⇥ | Rotate between agent modes in the chat input |
| Command /⌘/ | Cycle between AI models in the chat input |
| Return↩ | Send the message |
| Control Return⌃↩ | Queue a message while the agent is still working |
| Command Shift Delete⌘⇧⌫ | Cancel the current generation |
| Command N⌘N | Start a new chat |
| Command T⌘T | Open a new chat tab |
| Command [⌘[ | Go to the previous chat |
| Command ]⌘] | Go to the next chat |
| Command W⌘W | Close the chat |
| Escape⎋ | Unfocus the chat input |
AI edits & review3
| Shortcut | Action |
|---|---|
| Command Return⌘↩ | Accept all suggested changes |
| Command Delete⌘⌫ | Reject all suggested changes |
| Command Shift Space⌘⇧Space | Toggle voice mode |
Inline edit (Cmd K)5
| Shortcut | Action |
|---|---|
| Command K⌘K | Open inline edit on the selection or current line |
| Return↩ | Submit the inline edit prompt |
| Option Return⌥↩ | Ask a quick question instead of editing |
| Command Shift K⌘⇧K | Toggle focus between the prompt bar and the code |
| Command Shift Delete⌘⇧⌫ | Cancel the inline edit |
Adding context6
| Shortcut | Action |
|---|---|
| Command Shift L⌘⇧L | Add the selected code to chat as context |
| Command Shift K⌘⇧K | Add the selected code to inline edit |
| @@ | Mention files, folders, docs, and symbols in the chat input |
| // | Run shortcut commands in the chat input |
| Command V⌘V | Paste copied code or logs into chat as context |
| Command Shift V⌘⇧V | Paste copied code into chat as plain text |
Tab autocomplete2
| Shortcut | Action |
|---|---|
| Tab⇥ | Accept the whole suggestion |
| Command Right Arrow⌘→ | Accept the next word of the suggestion |
AI terminal4
| Shortcut | Action |
|---|---|
| Command K⌘K | Open the terminal prompt bar (with the terminal focused) |
| Command Return⌘↩ | Run the generated command |
| Escape⎋ | Accept the command into the prompt without running it |
| Control `⌃` | Toggle the integrated terminal (VS Code default) |
General8
| Shortcut | Action |
|---|---|
| Command Shift P⌘⇧P | Open the Command Palette (run any command) |
| Command P⌘P | Quick Open - jump to any file by name |
| Command Shift J⌘⇧J | Open Cursor settings (models, rules, features) |
| Command ,⌘, | Open the editor settings |
| Command K, then Command S⌘K⌘S | Open the Keyboard Shortcuts editor |
| Command B⌘B | Toggle the sidebar |
| Command Shift E⌘⇧E | Show the Explorer |
| Command Shift F⌘⇧F | Search across all files |
Editing & navigation (VS Code defaults)14
| Shortcut | Action |
|---|---|
| Command D⌘D | Select the next occurrence of the current word |
| Option Click⌥Click | Insert an extra cursor where you click |
| Command Option Up Arrow⌘⌥↑ | Add a cursor on the line above |
| Command Option Down Arrow⌘⌥↓ | Add a cursor on the line below |
| Command Shift K⌘⇧K | Delete the line (in the editor) |
| Option Up Arrow⌥↑ | Move the line up |
| Option Down Arrow⌥↓ | Move the line down |
| Command /⌘/ | Toggle line comment (in the editor) |
| F12F12 | Go to definition |
| F2F2 | Rename symbol |
| Command Shift O⌘⇧O | Go to symbol in the current file |
| Control G⌃G | Go to line |
| Control -⌃- | Go back |
| Control Tab⌃⇥ | Cycle through open editors |
Curated from the official Cursor keyboard shortcuts docs. Defaults only - shortcuts you've remapped will differ.
Frequently asked questions
Which Cursor shortcuts should I learn first?
Start with the three AI entry points: ⌘I opens the agent sidepanel, ⌘L sends your selection to chat, and ⌘K edits the selected code in place. Add Tab to accept autocomplete and you cover most of Cursor's AI workflow.
Do VS Code keyboard shortcuts work in Cursor?
Yes. Cursor is a fork of VS Code, so the default macOS keybindings - Command Palette ⌘⇧P, Quick Open ⌘P, multi-cursor, and the rest - carry over. Cursor layers its AI shortcuts (⌘I, ⌘L, ⌘K) on top, and a few of those are context-dependent, like ⌘K in the terminal.
How do I change keyboard shortcuts in Cursor?
Open the Keyboard Shortcuts editor with ⌘K ⌘S (the same editor as VS Code), search for the command, and double-click to rebind it. Cursor-specific settings live under ⌘⇧J.