diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 119cb17ad907620bc22fdde6090d6d2addb47330..43b2a971e6c0cd5dec1854b642aee39e9673bb61 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -4662,6 +4662,44 @@ For example, to use `Nerd Font` as a fallback, add the following to your setting `integer` values between `100` and `900` +## Settings Profiles + +- Description: Configure any number of settings profiles that are temporarily applied on top of your existing user settings when selected from `settings profile selector: toggle`. +- Setting: `profiles` +- Default: `{}` + +In your `settings.json` file, add the `profiles` object. +Each key within this object is the name of a settings profile, and each value is an object that can include any of Zed's settings. + +Example: + +```json [settings] +"profiles": { + "Presenting (Dark)": { + "agent_buffer_font_size": 18.0, + "buffer_font_size": 18.0, + "theme": "One Dark", + "ui_font_size": 18.0 + }, + "Presenting (Light)": { + "agent_buffer_font_size": 18.0, + "buffer_font_size": 18.0, + "theme": "One Light", + "ui_font_size": 18.0 + }, + "Writing": { + "agent_buffer_font_size": 15.0, + "buffer_font_size": 15.0, + "theme": "Catppuccin Frappé - No Italics", + "ui_font_size": 15.0, + "tab_bar": { "show": false }, + "toolbar": { "breadcrumbs": false } + } +} +``` + +To preview and enable a settings profile, open the command palette via {#kb command_palette::Toggle} and search for `settings profile selector: toggle`. + ## An example configuration: ```json [settings]