Cursor keyboard shortcuts
Cursor adds an AI workbench to an editor that still feels familiar to VS Code users. Start with the chat and inline-edit keys, then use the panel, autocomplete, and terminal controls when the task moves out of the file.
Cursor makes the editor and the agent share one workspace. Start with chat and inline edits, then learn the panel and terminal keys that keep the work moving when the code is no longer the only thing on screen.
Panels and modes
Open the AI side panel, change its layout, and switch the mode used for the next request.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Open command palette | CtrlShiftP | CmdShiftP | CtrlShiftP |
| Toggle AI side panel | CtrlI | CmdI | CtrlI |
| Toggle chat side panel | CtrlL | CmdL | CtrlL |
| Toggle Agent layout | CtrlE | CmdE | CtrlE |
| Open mode menu | Ctrl. | Cmd. | Ctrl. |
| Open Cursor settings | CtrlShiftJ | CmdShiftJ | CtrlShiftJ |
Chat and agent
Driving the agent chat input and its suggested changes.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Add selected code as contextRequires code selected in the editor. | CtrlShiftL | CmdShiftL | CtrlShiftL |
| Cancel generation | CtrlShiftBackspace | CmdShiftBackspace | CtrlShiftBackspace |
| Reject all suggested changes | CtrlBackspace | CmdBackspace | CtrlBackspace |
| Rotate between agent modes | ShiftTab | ShiftTab | ShiftTab |
| New chatCtrl+R (Cmd+R) also starts a new chat. | CtrlN | CmdN | CtrlN |
| Previous chatUse ] for the next chat. | Ctrl[ | Cmd[ | Ctrl[ |
| Close chat | CtrlW | CmdW | CtrlW |
Inline edit
Start a prompt-driven edit at the cursor and apply the suggested change without opening a separate chat.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Open inline edit | CtrlK | CmdK | CtrlK |
| Submit inline edit | Enter | Enter | Enter |
| Cancel inline edit | CtrlShiftBackspace | CmdShiftBackspace | CtrlShiftBackspace |
| Ask a quick question instead of editing | AltEnter | OptionEnter | AltEnter |
Tab autocomplete
Accept, dismiss, or move through Cursor's inline code suggestions.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Accept suggestion | Tab | Tab | Tab |
| Accept next word of suggestion | CtrlRight | CmdRight | CtrlRight |
Terminal
Generate a shell command from natural language, then move the result into the integrated terminal.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Open terminal prompt barSame keys as inline edit; context decides which opens. | CtrlK | CmdK | CtrlK |
| Run generated command | CtrlEnter | CmdEnter | CtrlEnter |
| Accept command without running it | Esc | Esc | Esc |
Make the useful keys stick
Cursor only feels fast when the agent stays inside your editing rhythm. Keep the chat and inline-edit keys close, and add the panel or terminal controls when those surfaces start taking over your day.
You do not need this whole page in your head. Pick two shortcuts that remove a repeated hand movement, use them until they feel ordinary, and come back for the next pair.