Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add docs for settings profiles (#41931)
Joseph T. Lyons2a2e04bb5c85
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.mdindex 119cb17ad90..43b2a971e6c 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]