Cursor
The AI-first code editor — chat, inline edit, agents, and tab completion built into VS Code
v3.2 · changelog · official ↗
AI Features
Core AI modes available in Cursor — each has a distinct purpose and keyboard shortcut
Chat
Chat Cmd+L / Ctrl+L Open the AI chat panel. Ask questions about your codebase, get explanations, generate code, and reference context with @ symbols.
Add to Chat Cmd+Shift+L / Ctrl+Shift+L Add the current editor selection to the Chat panel as a code snippet.
Chat with codebase @Codebase Run a semantic search across the entire indexed codebase and use results as context.
Inline Edit
Inline Edit Cmd+K / Ctrl+K Open the inline edit bar at the cursor position. Describe a change and Claude/GPT applies it directly in the file.
Quick Question Cmd+K (no selection) Ask a quick question about the code at the cursor without generating an edit.
Agent
Agent Cmd+I / Ctrl+I Open the Agents Window — a multi-step AI agent that reads, edits, and creates files across your entire project to complete a task.
Background Agent Cmd+Shift+I Launch a cloud-hosted background agent that runs independently while you keep working. Results appear in the Agents Window.
Plan Mode Agent presents a full plan before making any file changes. Review and approve before execution begins.
Design Mode Agent generates UI mockups and interactive prototypes alongside code changes.
Tab Completion
Tab Accept the current AI autocomplete suggestion in full.
Accept word Cmd+Right / Ctrl+Right Accept the next word of the current autocomplete suggestion instead of the full suggestion.
Reject suggestion Escape Dismiss the current autocomplete suggestion without accepting it.
Toggle autocomplete Cmd+/ (settings) Enable or disable AI autocomplete globally from Cursor Settings → Features → Cursor Tab.
Bugbot
Bugbot Automated code review that runs on pull requests, identifies bugs, and suggests fixes.
Fix All Apply all Bugbot fix suggestions to a PR in a single operation.
Context (@-symbols)
@-symbols attach context to Chat and Agent messages — files, symbols, docs, git history, web search, and more
Code & Files
@Files Attach one or more files from your project to the current message.
@Folders Attach an entire folder and its contents as context.
@Code Attach a specific function, class, or symbol by name.
@Codebase Run a semantic search across the entire indexed project and attach the most relevant results.
@Recent Attach recently changed files to provide diff context.
External Context
@Docs Attach official documentation — built-in for popular libraries, or add custom URLs.
@Web Perform a live web search and attach the results as context.
Development Context
@Git Attach git history — recent commits, diffs, or a specific commit hash.
@Terminal Attach the most recent terminal output to the message.
@Problems Attach all current linting errors and TypeScript diagnostics from the Problems panel.
@Notepads Attach a saved Notepad — a persistent text scratchpad you can pre-fill with instructions, templates, or context.
Keyboard Shortcuts
Keyboard shortcuts for Cursor's AI features and editor controls
AI Panels
Cmd+L Ctrl+L on Windows/Linux Open or focus the Chat panel.
Cmd+Shift+L Ctrl+Shift+L on Windows/Linux Add the current editor selection to the Chat panel as a code snippet.
Cmd+I Ctrl+I on Windows/Linux Open the Agents Window (multi-file Agent).
Cmd+Shift+I Ctrl+Shift+I on Windows/Linux Launch a cloud background agent in a new Agents Window pane.
Cmd+K Ctrl+K on Windows/Linux Open the Inline Edit bar at the cursor, or show agent results.
Tab Completion
Tab Accept the full current AI autocomplete suggestion.
Cmd+Right Ctrl+Right on Windows/Linux Accept the next word of the current autocomplete suggestion.
Escape Dismiss the current autocomplete suggestion.
Voice & Input
Ctrl+M (hold) Hold to activate voice input. Release to transcribe and submit.
Ctrl+V Paste an image from clipboard directly into the Chat or Agent input.
CLI
Ctrl+Z Send the Cursor CLI session to the background.
Cursor Rules
Project and user-level instructions that shape how the AI behaves — Cursor's equivalent of CLAUDE.md
Rules Files
.cursor/rules/*.mdc Project-scoped AI rules files. Each .mdc file can target specific file globs and apply automatically.
.cursorrules Legacy single-file project rules (root of repo). Still supported but superseded by .cursor/rules/*.mdc.
Rule Frontmatter
description MDC frontmatter field: human-readable name shown in the rules picker and @-mention menu.
globs MDC frontmatter field: file glob patterns that trigger auto-injection of this rule.
alwaysApply MDC frontmatter field: if true, this rule is injected into every single Chat and Agent request.
User Rules
User Rules Global AI rules that apply to every project, set in Cursor Settings → General → Rules for AI.
CLI Slash Commands
Slash commands available in the Cursor CLI — a terminal-first interface for Cursor's AI agents
Task Control
/multitask Spawn async subagents to parallelize the current request — breaks large tasks into simultaneous chunks.
/debug Enter Debug Mode — the agent generates hypotheses, adds strategic log statements, and uses runtime output to find root causes.
/btw Ask a side question or give a clarification without stopping the current agent run.
Configuration
/config Open an interactive settings panel — change model, defaults, and runtime preferences without leaving the CLI.
/update-cli-config Apply configuration changes from a skill or script without manually editing settings files.
/statusline Customize the CLI status bar to display session info, working directory, worktree, and branch.