Skip to content

Instantly share code, notes, and snippets.

@pavel-kirienko
Last active February 19, 2026 18:31
Show Gist options
  • Select an option

  • Save pavel-kirienko/24d43ac4498514098b5af12117656f67 to your computer and use it in GitHub Desktop.

Select an option

Save pavel-kirienko/24d43ac4498514098b5af12117656f67 to your computer and use it in GitHub Desktop.
Zed config
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"session": {
"trust_all_worktrees": true,
},
"edit_predictions": {
"provider": "copilot",
},
"buffer_line_height": "standard",
"semantic_tokens": "combined",
"global_lsp_settings": {
"semantic_token_rules": [
{
"token_type": "parameter",
"foreground_color": "#8855ff",
},
{
"token_type": "variable",
"token_modifiers": ["readonly"],
"foreground_color": "#8be9fd",
},
{
"token_type": "variable",
"foreground_color": "#f1fa8c",
},
{
"token_type": "property",
"foreground_color": "#00aaff",
},
{
"token_type": "typeParameter",
"foreground_color": "#bd93f9",
},
],
},
"languages": {
"C": {
"semantic_tokens": "combined",
"formatter": {
"external": {
"command": "clang-format",
"arguments": ["--assume-filename", "{buffer_path}"],
},
},
"format_on_save": "on",
},
"C++": {
"semantic_tokens": "combined",
"formatter": {
"external": {
"command": "clang-format",
"arguments": ["--assume-filename", "{buffer_path}"],
},
},
"format_on_save": "on",
},
"CMake": {
"preferred_line_length": 120,
},
},
"preferred_line_length": 120,
"wrap_guides": [120],
"fast_scroll_sensitivity": 8.0,
"agent": {
"tool_permissions": {
"default": "allow",
},
"message_editor_min_lines": 5,
"use_modifier_to_send": true,
"notify_when_agent_waiting": "all_screens",
"model_parameters": [],
},
"autosave": "on_focus_change",
"telemetry": {
"diagnostics": false,
"metrics": false,
},
"buffer_font_family": "JetBrains Mono",
"buffer_font_features": {
"calt": true,
"liga": true,
"dlig": true,
},
"buffer_font_size": 13.0,
"theme_overrides": {
"Ayu Dark": {
"editor.background": "#000000",
},
},
"experimental.theme_overrides": {
"editor.background": "#000000",
"editor.wrap_guide": "#222",
"syntax": {
"constant.comment.todo": { "color": "#f00" },
"string.comment.info": { "color": "#f00" },
"keyword.comment.warn": { "color": "#f00" },
"property.comment.error": { "color": "#f00" },
},
},
"theme": {
"mode": "system",
"light": "Ayu Light",
"dark": "Ayu Dark",
},
"sticky_scroll": {
"enabled": true,
},
"scrollbar": {
"axes": {
"horizontal": false,
},
},
"minimap": {
"show": "auto", // When to show (auto, always, never)
"display_in": "all_editors", // Where to show (active_editor, all_editors)
"thumb": "always", // When to show thumb (always, hover)
"thumb_border": "left_open", // Thumb border (left_open, right_open, full, none)
"max_width_columns": 80, // Maximum width of minimap
"current_line_highlight": null, // Highlight current line (null, line, gutter)
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment