Cheat Sheet
Cursor
The AI-first code editor
Chat & AI Panel
Cmd+LOpen AI chat panelCmd+IOpen Agent / Composer modeCmd+Shift+LAdd selection to chat contextCmd+KOpen inline edit (selected code)Cmd+Shift+KInline edit without selectionCmd+EnterSubmit chat messageEscapeClose chat / dismiss suggestionInline Completions (Tab)
TabAccept full suggestionEscapeDismiss suggestionAlt+]Next suggestionAlt+[Previous suggestionCmd+→Accept word by wordCmd+Shift+→Accept to end of lineContext References (@)
@codebaseReference entire codebase in chat@filenameAttach a specific file@folderAttach a folder and its contents@webPull content from the web@docsReference indexed documentation@gitReference git history and diffs@SymbolsReference code symbols by name@recentReference recently edited filesRules
.cursor/rules/Directory for all rule files (.mdc).cursorrulesLegacy project-root rules filealwaysApply: trueRule applied to every requestglobs: "**/*.ts"Auto-attach rule to matching filesdescription:Shown to model when rule is relevantmanual rulesRules used only when @referenced in chatCursor Settings > RulesGlobal user-level rules configAgent Mode
Cmd+IEnter Agent (Composer) modeYolo modeSkip all confirmation promptsCheckpointCreate a restore point before changesRestore checkpointRoll back to a previous stateMax modeUnlimited requests without rate limitsBackground agentsRun agents asynchronously in cloudBugBotAuto-review PRs on GitHubModel Selection
Model picker (top-right)Switch model in any chatcomposer-1Cursor in-house agentic model (default)claude-sonnet-4-6Anthropic Claude (latest Sonnet, 1M ctx)claude-opus-4-7Anthropic Claude (most capable Opus)gpt-5OpenAI GPT-5 (default OpenAI option)gpt-5-codexOpenAI coding-tuned GPT-5gemini-3.1-proGoogle Gemini 3.1 Pro (1M ctx)code-agents.oday-bakkour.com · Cursor · Last verified: April 2026