Settings Files
Zed supports multiple levels of settings:- User Settings:
~/.config/zed/settings.json- Your personal global configuration - Project Settings:
.zed/settings.jsonin your project root - Project-specific overrides - Server Settings: Applied to remote development environments
cmd-,(macOS) orctrl-,(Linux/Windows)- Command Palette: “zed: open settings”
Settings Structure
Settings are organized as a JSON object with the$schema declaration for autocomplete:
Common Settings
Appearance
Theme Selection
Themes can be configured statically or dynamically based on system appearance:Icon Theme
Font Configuration
UI Density
Editor Behavior
Tab and Indentation
Cursor and Selection
Autocomplete and Editing
Whitespace Display
Vim Mode
LSP and Language Servers
Format on Save
Git Integration
Diagnostics
Panels
Telemetry
Terminal
Platform-Specific Settings
Override settings for specific platforms:Release Channel Overrides
Different settings for different release channels:Settings Profiles
Create named profiles for different workflows:Project Settings
Create a.zed/settings.json file in your project root to override user settings:
Schema Validation
Zed provides JSON schema validation for settings. The"$schema" field enables autocomplete and validation in the editor:
