Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Add AI SEO frontmatter (#48559)
Katie Geer718dc62dbcad
diff --git a/docs/src/ai/agent-panel.md b/docs/src/ai/agent-panel.mdindex 1f0e2b34f2c..51410182b21 100644--- a/docs/src/ai/agent-panel.md+++ b/docs/src/ai/agent-panel.md@@ -1,3 +1,8 @@+---+title: AI Coding Agent - Zed Agent Panel+description: Use Zed's AI coding agent to generate, refactor, and debug code with tool calling, checkpoints, and multi-model support.+---+# Agent PanelThe Agent Panel is where you interact with AI agents that can read, write, and run code in your project. Use it for code generation, refactoring, debugging, documentation, and general questions.diff --git a/docs/src/ai/agent-settings.md b/docs/src/ai/agent-settings.mdindex db3195f2c7b..52e6de27101 100644--- a/docs/src/ai/agent-settings.md+++ b/docs/src/ai/agent-settings.md@@ -1,3 +1,8 @@+---+title: AI Agent Settings - Zed+description: Customize Zed's AI agent: default models, temperature, tool approval, auto-run commands, notifications, and panel options.+---+# Agent SettingsSettings for Zed's Agent Panel, including model selection, UI preferences, and tool permissions.diff --git a/docs/src/ai/ai-improvement.md b/docs/src/ai/ai-improvement.mdindex 1942a406e9f..6ae4832377b 100644--- a/docs/src/ai/ai-improvement.md+++ b/docs/src/ai/ai-improvement.md@@ -1,3 +1,8 @@+---+title: AI Improvement and Data Collection - Zed+description: Zed's opt-in approach to AI data collection for improving the agent panel and edit predictions.+---+# Zed AI Improvement## Agent Paneldiff --git a/docs/src/ai/billing.md b/docs/src/ai/billing.mdindex f9d9b6343a4..4d83a232b8a 100644--- a/docs/src/ai/billing.md+++ b/docs/src/ai/billing.md@@ -1,3 +1,8 @@+---+title: Billing - Zed AI+description: Manage Zed AI billing, payment methods, invoices, threshold billing, and sales tax information.+---+# BillingWe use Stripe as our payments provider, and Orb for invoicing and metering. All Pro plans require payment via credit card or other supported payment method.diff --git a/docs/src/ai/configuration.md b/docs/src/ai/configuration.mdindex 8b213c3c0ee..e02f6cc49c1 100644--- a/docs/src/ai/configuration.md+++ b/docs/src/ai/configuration.md@@ -1,3 +1,8 @@+---+title: Configure AI in Zed - Providers, Models, and Settings+description: Set up AI in Zed with hosted models, your own API keys, or external agents. Includes how to disable AI entirely.+---+# ConfigurationWhen using AI in Zed, you can configure multiple dimensions:diff --git a/docs/src/ai/edit-prediction.md b/docs/src/ai/edit-prediction.mdindex 47758535453..53f7927efba 100644--- a/docs/src/ai/edit-prediction.md+++ b/docs/src/ai/edit-prediction.md@@ -1,3 +1,8 @@+---+title: AI Code Completion in Zed - Zeta, Copilot, Supermaven+description: Set up AI code completions in Zed with Zeta (built-in), GitHub Copilot, Supermaven, or Codestral. Multi-line predictions on every keystroke.+---+# Edit PredictionEdit Prediction is Zed's LLM mechanism for predicting the code you want to write.diff --git a/docs/src/ai/external-agents.md b/docs/src/ai/external-agents.mdindex a256e86a251..b80aa8bcdbf 100644--- a/docs/src/ai/external-agents.md+++ b/docs/src/ai/external-agents.md@@ -1,3 +1,8 @@+---+title: Use Claude Code, Gemini CLI, and Codex in Zed+description: Run Claude Code, Gemini CLI, Codex, and other AI coding agents directly in Zed via the Agent Client Protocol (ACP).+---+# External AgentsZed supports many external agents, including CLI-based ones, through the [Agent Client Protocol (ACP)](https://agentclientprotocol.com).diff --git a/docs/src/ai/inline-assistant.md b/docs/src/ai/inline-assistant.mdindex e4278b411b3..8c9463351ac 100644--- a/docs/src/ai/inline-assistant.md+++ b/docs/src/ai/inline-assistant.md@@ -1,3 +1,8 @@+---+title: Inline AI Code Editing - Zed+description: Transform code inline with AI in Zed. Send selections to any LLM for refactoring, generation, or editing with multi-cursor support.+---+# Inline Assistant## Usage Overviewdiff --git a/docs/src/ai/llm-providers.md b/docs/src/ai/llm-providers.mdindex f224890b5da..bd353defa21 100644--- a/docs/src/ai/llm-providers.md+++ b/docs/src/ai/llm-providers.md@@ -1,3 +1,8 @@+---+title: LLM Providers - Use Your Own API Keys in Zed+description: Bring your own API keys to Zed. Set up Anthropic, OpenAI, Google AI, Ollama, DeepSeek, Mistral, OpenRouter, and more.+---+# LLM ProvidersTo use AI in Zed, you need to have at least one large language model provider set up.diff --git a/docs/src/ai/mcp.md b/docs/src/ai/mcp.mdindex fa5bc37b08f..4ea040290bf 100644--- a/docs/src/ai/mcp.md+++ b/docs/src/ai/mcp.md@@ -1,3 +1,8 @@+---+title: Model Context Protocol (MCP) in Zed+description: Install and configure MCP servers in Zed to extend your AI agent with external tools, data sources, and integrations.+---+# Model Context ProtocolZed uses the [Model Context Protocol](https://modelcontextprotocol.io/) to interact with context servers.diff --git a/docs/src/ai/models.md b/docs/src/ai/models.mdindex 2c9922ae976..ebfb9e3f90c 100644--- a/docs/src/ai/models.md+++ b/docs/src/ai/models.md@@ -1,3 +1,8 @@+---+title: AI Models and Pricing - Zed+description: AI models available via Zed Pro including Claude, GPT-5, Gemini, and Grok. Pricing, context windows, and tool call support.+---+# ModelsZed's plans offer hosted versions of major LLMs with higher rate limits than direct API access. Model availability is updated regularly.diff --git a/docs/src/ai/overview.md b/docs/src/ai/overview.mdindex 77906fc49c5..8fb9801fe28 100644--- a/docs/src/ai/overview.md+++ b/docs/src/ai/overview.md@@ -1,3 +1,8 @@+---+title: AI Code Editor Documentation - Zed+description: Docs for AI in Zed, the open-source AI code editor. Agentic coding, inline edits, AI code completion, and multi-model support.+---+# AIZed integrates AI throughout the editor: agentic coding, inline transformations, edit prediction, and direct model conversations.diff --git a/docs/src/ai/plans-and-usage.md b/docs/src/ai/plans-and-usage.mdindex fb17429856c..bebc4c4fb30 100644--- a/docs/src/ai/plans-and-usage.md+++ b/docs/src/ai/plans-and-usage.md@@ -1,3 +1,8 @@+---+title: Plans and Usage - Zed AI+description: Understand Zed's AI plans, token-based usage metering, spend limits, and trial details.+---+# Plans and Usage## Available Plans {#plans}diff --git a/docs/src/ai/privacy-and-security.md b/docs/src/ai/privacy-and-security.mdindex f8b72e230e2..de0baf17958 100644--- a/docs/src/ai/privacy-and-security.md+++ b/docs/src/ai/privacy-and-security.md@@ -1,3 +1,8 @@+---+title: AI Privacy and Security - Zed+description: Zed's approach to AI privacy: opt-in data sharing by default, zero-data retention with providers, and full open-source transparency.+---+# Privacy and Security## Philosophydiff --git a/docs/src/ai/rules.md b/docs/src/ai/rules.mdindex 7611bde6383..a3de54daac6 100644--- a/docs/src/ai/rules.md+++ b/docs/src/ai/rules.md@@ -1,3 +1,8 @@+---+title: AI Rules in Zed - .rules, .cursorrules, CLAUDE.md+description: Configure AI behavior in Zed with .rules files, .cursorrules, CLAUDE.md, AGENTS.md, and the Rules Library for project-level instructions.+---+# Using Rules {#using-rules}Rules are prompts inserted at the beginning of each agent interaction. Add them via files in your worktree (`.rules`, etc.) or through the Rules Library for reuse across projects and threads.diff --git a/docs/src/ai/subscription.md b/docs/src/ai/subscription.mdindex 03893ede3cc..0c4896fdbc8 100644--- a/docs/src/ai/subscription.md+++ b/docs/src/ai/subscription.md@@ -1,3 +1,8 @@+---+title: Zed AI Subscription+description: Learn about Zed Pro and Business plans for hosted AI models with higher rate limits and premium features.+---+# SubscriptionZed's hosted models are offered via subscription to Zed Pro or Zed Business.diff --git a/docs/src/ai/text-threads.md b/docs/src/ai/text-threads.mdindex ea72f1dfaeb..220392690e5 100644--- a/docs/src/ai/text-threads.md+++ b/docs/src/ai/text-threads.md@@ -1,3 +1,8 @@+---+title: AI Chat in Your Editor - Zed Text Threads+description: Chat with LLMs directly in your editor with Zed's text threads. Full control over context, message roles, and slash commands.+---+# Text Threads## Overview {#overview}diff --git a/docs/src/ai/tools.md b/docs/src/ai/tools.mdindex 5897cdc5b37..6bc16fc5db9 100644--- a/docs/src/ai/tools.md+++ b/docs/src/ai/tools.md@@ -1,3 +1,8 @@+---+title: AI Agent Tools - Zed+description: Built-in tools for Zed's AI agent including file editing, code search, terminal commands, web search, and diagnostics.+---+# ToolsZed's built-in agent has access to these tools for reading, searching, and editing your codebase.diff --git a/docs/src/appearance.md b/docs/src/appearance.mdindex 835e56229f2..fdf5e239ccf 100644--- a/docs/src/appearance.md+++ b/docs/src/appearance.md@@ -1,3 +1,8 @@+---+title: Appearance and Visual Customization - Zed+description: Customize Zed's themes, fonts, icons, UI density, and other visual settings to match your preferences.+---+# AppearanceCustomize Zed's visual appearance to match your preferences. This guide covers themes, fonts, icons, and other visual settings.diff --git a/docs/src/command-palette.md b/docs/src/command-palette.mdindex b573fc6a5f8..703cce561b7 100644--- a/docs/src/command-palette.md+++ b/docs/src/command-palette.md@@ -1,3 +1,8 @@+---+title: Command Palette - Zed+description: Access any Zed action from the command palette. Fuzzy search commands, key bindings, and editor actions.+---+# Command PaletteThe Command Palette is the main way to access pretty much any functionality that's available in Zed. Its keybinding is the first one you should make yourself familiar with. To open it, hit: {#kb command_palette::Toggle}.diff --git a/docs/src/completions.md b/docs/src/completions.mdindex 7b35ec2d09d..9962fd5f24c 100644--- a/docs/src/completions.md+++ b/docs/src/completions.md@@ -1,3 +1,8 @@+---+title: Code Completions - Zed+description: Zed's code completions from language servers and edit predictions. Configure autocomplete behavior, snippets, and documentation display.+---+# CompletionsZed supports two sources for completions:diff --git a/docs/src/configuring-languages.md b/docs/src/configuring-languages.mdindex 06e5f9b77b5..90fec03c0b9 100644--- a/docs/src/configuring-languages.md+++ b/docs/src/configuring-languages.md@@ -1,3 +1,8 @@+---+title: Language Server and Tree-sitter Config - Zed+description: Configure language support in Zed with Tree-sitter for syntax highlighting and LSP for diagnostics, completion, and formatting.+---+# Configuring Supported LanguagesZed's language support is built on two technologies:diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.mdindex 9bec490e5a3..5b0fdca3973 100644--- a/docs/src/configuring-zed.md+++ b/docs/src/configuring-zed.md@@ -1,3 +1,8 @@+---+title: Configuring Zed - Settings and Preferences+description: Configure Zed with the Settings Editor, JSON files, and project-specific overrides. Covers all settings options.+---+# Configuring ZedThis guide explains how Zed's settings system works, including the Settings Editor, JSON configuration files, and project-specific settings.diff --git a/docs/src/debugger.md b/docs/src/debugger.mdindex 55315d1b495..04e4ca7271c 100644--- a/docs/src/debugger.md+++ b/docs/src/debugger.md@@ -1,3 +1,8 @@+---+title: Debugger - Zed+description: Debug code in Zed with the Debug Adapter Protocol (DAP). Breakpoints, stepping, variable inspection across multiple languages.+---+# DebuggerZed uses the [Debug Adapter Protocol (DAP)](https://microsoft.github.io/debug-adapter-protocol/) to provide debugging functionality across multiple programming languages.diff --git a/docs/src/dev-containers.md b/docs/src/dev-containers.mdindex 54a167ff3eb..eabb9694255 100644--- a/docs/src/dev-containers.md+++ b/docs/src/dev-containers.md@@ -1,3 +1,8 @@+---+title: Dev Containers - Zed+description: Open projects in dev containers with Zed. Reproducible development environments using devcontainer.json configuration.+---+# Dev ContainersDev Containers provide a consistent, reproducible development environment by defining your project's dependencies, tools, and settings in a container configuration.diff --git a/docs/src/diagnostics.md b/docs/src/diagnostics.mdindex 47cc586008d..5c019ecac36 100644--- a/docs/src/diagnostics.md+++ b/docs/src/diagnostics.md@@ -1,3 +1,8 @@+---+title: Diagnostics - Errors and Warnings in Zed+description: View and navigate errors, warnings, and code diagnostics from language servers in Zed.+---+# DiagnosticsZed gets its diagnostics from the language servers and supports both push and pull variants of the LSP which makes it compatible with all existing language servers.diff --git a/docs/src/editing-code.md b/docs/src/editing-code.mdindex d0e57c9374c..fdc46115789 100644--- a/docs/src/editing-code.md+++ b/docs/src/editing-code.md@@ -1,3 +1,8 @@+---+title: Editing Code in Zed+description: Core code editing features in Zed including multi-cursor, refactoring, code actions, and language server integration.+---+# Editing CodeZed provides tools to help you write and modify code efficiently. This section covers the core editing features that work alongside your language server.diff --git a/docs/src/environment.md b/docs/src/environment.mdindex 11af40c91db..3749292f033 100644--- a/docs/src/environment.md+++ b/docs/src/environment.md@@ -1,3 +1,8 @@+---+title: Environment Variables - Zed+description: How Zed detects and uses environment variables. Shell integration, dotenv support, and troubleshooting.+---+# Environment Variables_**Note**: The following only applies to Zed 0.152.0 and later._diff --git a/docs/src/finding-navigating.md b/docs/src/finding-navigating.mdindex 78bc6905c5e..051c21262a1 100644--- a/docs/src/finding-navigating.md+++ b/docs/src/finding-navigating.md@@ -1,3 +1,8 @@+---+title: Finding and Navigating Code - Zed+description: Navigate your codebase in Zed with file finder, project search, go to definition, symbol search, and the command palette.+---+# Finding & NavigatingZed provides several ways to move around your codebase quickly. Here's an overview of the main navigation tools.diff --git a/docs/src/getting-started.md b/docs/src/getting-started.mdindex 78fbdf7cd3f..294801d3263 100644--- a/docs/src/getting-started.md+++ b/docs/src/getting-started.md@@ -1,3 +1,8 @@+---+title: Getting Started with Zed+description: Get started with Zed, the fast open-source code editor. Essential commands, environment setup, and navigation basics.+---+# Getting StartedWelcome to Zed! We are excited to have you. Zed is a powerful multiplayer code editor designed to stay out of your way and help you build what's next.diff --git a/docs/src/globs.md b/docs/src/globs.mdindex 14b7f91da2f..94c866394bc 100644--- a/docs/src/globs.md+++ b/docs/src/globs.md@@ -1,3 +1,8 @@+---+title: Glob Patterns - Zed+description: How glob patterns work in Zed for file matching, search filtering, and configuration. Syntax reference and examples.+---+# GlobsZed supports the use of [glob](<https://en.wikipedia.org/wiki/Glob_(programming)>) patterns that are the formal name for Unix shell-style path matching wildcards like `*.md` or `docs/src/**/*.md` supported by sh, bash, zsh, etc. A glob is similar but distinct from a [regex (regular expression)](https://en.wikipedia.org/wiki/Regular_expression). You may be In Zed these are commonly used when matching filenames.diff --git a/docs/src/helix.md b/docs/src/helix.mdindex 467a2fac7c3..354e3a1ddc8 100644--- a/docs/src/helix.md+++ b/docs/src/helix.md@@ -1,3 +1,8 @@+---+title: Helix Mode - Zed+description: Helix-style keybindings and modal editing in Zed. Selection-first editing built on top of Vim mode.+---+# Helix Mode_Work in progress! Not all Helix keybindings are implemented yet._diff --git a/docs/src/installation.md b/docs/src/installation.mdindex ffba532cd21..2c003da7557 100644--- a/docs/src/installation.md+++ b/docs/src/installation.md@@ -1,3 +1,8 @@+---+title: Install Zed - macOS, Linux, Windows+description: Download and install Zed on macOS, Linux, or Windows. Includes Homebrew, direct download, and package manager options.+---+# Installing Zed## Download Zeddiff --git a/docs/src/key-bindings.md b/docs/src/key-bindings.mdindex 47826af6106..45b7d29e484 100644--- a/docs/src/key-bindings.md+++ b/docs/src/key-bindings.md@@ -1,3 +1,8 @@+---+title: Key Bindings and Shortcuts - Zed+description: Customize Zed's keyboard shortcuts. Rebind actions, create key sequences, and set context-specific bindings.+---+# Key bindingsZed's key binding system is fully customizable. You can rebind any action, create key sequences, and define context-specific bindings.diff --git a/docs/src/multibuffers.md b/docs/src/multibuffers.mdindex b95e85ad891..5408c44597b 100644--- a/docs/src/multibuffers.md+++ b/docs/src/multibuffers.md@@ -1,3 +1,8 @@+---+title: Multibuffers - Edit Multiple Files at Once in Zed+description: Edit multiple files simultaneously in Zed using multibuffers. Combine with multi-cursor for fast cross-file refactoring.+---+# MultibuffersOne of the superpowers Zed gives you is the ability to edit multiple files simultaneously. When combined with multiple cursors, this makes wide-ranging refactors significantly faster.diff --git a/docs/src/outline-panel.md b/docs/src/outline-panel.mdindex bc743596d6b..e5f1f911a4e 100644--- a/docs/src/outline-panel.md+++ b/docs/src/outline-panel.md@@ -1,3 +1,8 @@+---+title: Outline Panel - Zed+description: Navigate code structure with Zed's outline panel. View symbols, jump to definitions, and browse file outlines.+---+# Outline PanelIn addition to the modal outline (`cmd-shift-o`), Zed offers an outline panel. The outline panel can be deployed via `cmd-shift-b` (`outline panel: toggle focus` via the command palette), or by clicking the `Outline Panel` button in the status bar.diff --git a/docs/src/remote-development.md b/docs/src/remote-development.mdindex f05eb16d404..8124184dc9a 100644--- a/docs/src/remote-development.md+++ b/docs/src/remote-development.md@@ -1,3 +1,8 @@+---+title: Remote Development - Zed+description: Edit code on remote servers with Zed. Local UI performance with remote language servers, terminals, and tasks over SSH.+---+# Remote DevelopmentRemote Development lets you edit code on a remote server while running Zed locally. The UI stays responsive because it runs on your machine, while language servers, tasks, and terminals run on the server.diff --git a/docs/src/repl.md b/docs/src/repl.mdindex 692093007cb..7e8b590153b 100644--- a/docs/src/repl.md+++ b/docs/src/repl.md@@ -1,3 +1,8 @@+---+title: REPL - Jupyter Kernels in Zed+description: Run code interactively in Zed with built-in Jupyter kernel support. Execute Python, TypeScript, R, and more inline.+---+# REPL## Getting starteddiff --git a/docs/src/running-testing.md b/docs/src/running-testing.mdindex 249639a0719..93ca354d3e7 100644--- a/docs/src/running-testing.md+++ b/docs/src/running-testing.md@@ -1,3 +1,8 @@+---+title: Running and Testing Code - Zed+description: Run, test, and debug your code without leaving Zed. Tasks, REPL, and debugger integration.+---+# Running & TestingThis section covers how to run, test, and debug your code without leaving Zed.diff --git a/docs/src/semantic-tokens.md b/docs/src/semantic-tokens.mdindex 5118f930236..ab30525c504 100644--- a/docs/src/semantic-tokens.md+++ b/docs/src/semantic-tokens.md@@ -1,3 +1,8 @@+---+title: Semantic Tokens and Syntax Highlighting - Zed+description: Enable and configure semantic token highlighting in Zed for richer, language-server-aware syntax coloring.+---+# Semantic TokensSemantic tokens provide richer syntax highlighting by using information from language servers. Unlike tree-sitter highlighting, which is based purely on syntax, semantic tokens understand the meaning of your code—distinguishing between local variables and parameters, or between a class definition and a class reference.diff --git a/docs/src/snippets.md b/docs/src/snippets.mdindex e84210d0fad..b659269ba6f 100644--- a/docs/src/snippets.md+++ b/docs/src/snippets.md@@ -1,3 +1,8 @@+---+title: Snippets - Zed+description: Create and use code snippets in Zed with tab stops, placeholders, variables, and language-scoped triggers.+---+# SnippetsUse the {#action snippets::ConfigureSnippets} action to create a new snippets file or edit an existing snippets file for a specified [scope](#scopes).diff --git a/docs/src/tasks.md b/docs/src/tasks.mdindex 095f0516992..ee2ce076011 100644--- a/docs/src/tasks.md+++ b/docs/src/tasks.md@@ -1,3 +1,8 @@+---+title: Tasks - Run Commands in Zed+description: Run and rerun shell commands from Zed with task definitions. Supports variables, templates, and language-specific tasks.+---+# TasksZed supports ways to spawn (and rerun) commands using its integrated [terminal](./terminal.md) to output the results. These commands can read a limited subset of Zed state (such as a path to the file currently being edited or selected text).diff --git a/docs/src/terminal.md b/docs/src/terminal.mdindex 6f6f7aac88c..b6017c3720b 100644--- a/docs/src/terminal.md+++ b/docs/src/terminal.md@@ -1,3 +1,8 @@+---+title: Built-in Terminal - Zed+description: Zed's integrated terminal with multiple instances, custom shells, and deep editor integration.+---+# TerminalZed includes a built-in terminal emulator that supports multiple terminal instances, custom shells, and deep integration with the editor.diff --git a/docs/src/themes.md b/docs/src/themes.mdindex 615cd2c7b38..b121061f499 100644--- a/docs/src/themes.md+++ b/docs/src/themes.md@@ -1,3 +1,8 @@+---+title: Themes - Zed+description: Browse, install, and create themes for Zed. Includes built-in themes and community theme extensions.+---+# ThemesZed comes with a number of built-in themes, with more themes available as extensions.diff --git a/docs/src/vim.md b/docs/src/vim.mdindex 203faead791..4ce3f7f533a 100644--- a/docs/src/vim.md+++ b/docs/src/vim.md@@ -1,3 +1,8 @@+---+title: Vim Mode - Zed+description: Full Vim emulation in Zed with motions, text objects, visual mode, macros, and Zed-specific extensions.+---+# Vim ModeZed includes a Vim emulation layer. This page covers enabling and disabling vim mode, key bindings, Zed-specific features, and configuration options.