Settings

Community notes on Cursor settings. Official docs are at cursor.com/docs.

Overview

Cursor offers a wide range of settings to customize your experience. This guide covers the most important settings categories and how to configure them for optimal use, especially when working with documentation.

Accessing Cursor Settings

There are several ways to access Cursor's settings:

  • Keyboard Shortcut: Press Cmd + Shift + J to access Cursor settings directly.
  • Menu Bar: Click on Cursor > Settings > Cursor Settings

General Settings

The General settings category contains fundamental configurations that affect your overall Cursor experience:

NEW

Keyboard Shortcuts Configuration

Cursor now allows you to fully customize keyboard shortcuts to match your workflow preferences. You can:

  • View All Shortcuts: See a comprehensive list of all available keyboard shortcuts
  • Modify Existing Shortcuts: Change any predefined keyboard combinations
  • Add New Shortcuts: Create custom shortcuts for commands that don't have them
Cursor keyboard shortcuts configuration interface

Cursor's keyboard shortcuts configuration interface

Features

Cursor offers a rich set of features that can be customized to enhance your development experience. Here's a detailed breakdown of each feature category and its settings:

Cursor Tab

A powerful Copilot replacement that can suggest changes across multiple lines.

  • Partial Accepts: Accept only the next word or chunk of a suggestion using the Command → key, letting you select just the part you need
  • Suggestions in Comments: Toggle AI suggestions in comment lines; disable to avoid suggestions while writing comments or documentation
  • Show Whitespace Only Changes: Choose whether to see suggestions that only alter spacing or indentation
  • Auto Import: Automatically adds necessary import statements when accepting suggestions that reference unimported symbols (TypeScript only)

Pro Tip: Use partial accepts to quickly incorporate specific parts of suggestions while skipping others.

Chat

Ask Cursor Agent questions about your codebase, edit multiple files at once, and use various tools.

Core Features

  • Auto-Scroll to bottom: Automatically scrolls the chat pane to the latest response whenever a new message is generated
  • Auto-Apply to files outside context: Allows the AI to apply changes to files beyond the lines or files you're currently viewing
  • Large context: Enables a longer context window for the chat, allowing the AI to handle larger or more complex queries

Automation Settings

  • Enable yolo mode: Allow agent chat to run tools without asking for confirmation, such as executing commands and writing to files

Yolo mode breakdown coming soon:

  • Yolo prompt
  • Command allowlist
  • Command denylist
  • Delete file protection
  • MCP tools protection

Additional Settings:

  • Large Context: When enabled, chat uses longer context windows. This may use more fast requests
  • Collapse input box pills: Collapse pills in the chat pane or editor input box to save space
  • Iterate on lints: If enabled, chat will iterate on linter errors to fix them automatically

⚠️ A Disclaimer: Yolo mode runs any commands based on the allowlist and denylist you set. Be cautious of potential prompt injection risks from external sources and use at your own risk.

Safety Features

  • Delete file protection: Prevents the AI from automatically deleting files without explicit approval
  • Review changes (beta): Shows a grouped list of all modifications made during your chat session

Beta Features

  • Review changes (beta)

    List and group changes made in a chat session with an LLM for you to review

    Options: Display button, Auto-run, Disabled

  • Web Search Tool (beta)

    This will allow chat in agent mode to search the web for information

💡 Note: Some features like yolo mode and large context may affect performance or resource usage. Configure these based on your system capabilities.

Codebase Indexing

Embeddings improve your codebase-wide answers. Embeddings and metadata are stored in the cloud but all code is stored locally.

Codebase indexing completion interface

Codebase indexing completion interface

Editor

Editor settings control how Cursor's code editor behaves and appears. These settings are similar to VS Code's editor preferences since Cursor is built on the VS Code foundation.

  • Font Size: Adjust the editor font size for better readability
  • Tab Size: Configure indentation width for your code
  • Line Numbers: Show or hide line numbers in the editor
  • Word Wrap: Control how long lines are displayed

Terminal

Terminal settings customize the integrated terminal experience within Cursor.

  • Shell: Choose which shell to use (bash, zsh, powershell, etc.)
  • Font Family: Set the font for the terminal
  • Cursor Style: Configure the terminal cursor appearance

Models

Cursor allows you to select different AI models for various tasks. Model selection affects the quality and speed of AI responses.

Model Configuration

  • Different models may be available for chat, completion, and other features
  • Model availability depends on your Cursor subscription level
  • You can typically find model settings in Cursor Settings → Models

Note: Model options and availability may vary. Check your Cursor settings for the current list of available models.

Rules

MCP

MCP (Model Context Protocol) settings control how Cursor connects to external tools and data sources through the standardized MCP protocol.

MCP Server Configuration

MCP servers extend Cursor's capabilities by connecting to external services, APIs, and tools.

Read more about the MCP protocol

Beta

Beta features are experimental features that are still being tested and refined. These features may change or be removed in future updates.

⚠️ Beta Feature Disclaimer: Beta features are experimental and may not be stable. Use them at your own discretion and report any issues you encounter.