zed

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

settings.json (3714B)


      1 // Zed settings
      2 //
      3 // For information on how to configure Zed, see the Zed
      4 // documentation: https://zed.dev/docs/configuring-zed
      5 //
      6 // To see all of Zed's default settings without changing your
      7 // custom settings, run `zed: open default settings` from the
      8 // command palette (cmd-shift-p / ctrl-shift-p)
      9 {
     10   "agent_servers": {
     11     "gemini": {
     12       "type": "registry"
     13     }
     14   },
     15   "terminal": {
     16     "shell": {
     17       "program": "nu.exe"
     18     }
     19   },
     20   "outline_panel": {
     21     "dock": "left",
     22   },
     23   "project_panel": {
     24     "dock": "left",
     25   },
     26   "collaboration_panel": {
     27     "dock": "left",
     28   },
     29   "git_panel": {
     30     "dock": "left",
     31   },
     32   "helix_mode": true,
     33   "agent": {
     34     "default_profile": "write",
     35     "default_model": {
     36       "provider": "google",
     37       "model": "gemini-2.5-flash-lite",
     38       "enable_thinking": true,
     39     },
     40     "favorite_models": [],
     41     "model_parameters": [],
     42     "dock": "right",
     43   },
     44   "ui_font_family": "Moralerspace Neon NF",
     45   "buffer_font_weight": 400.0,
     46   "buffer_font_family": "Moralerspace Neon NF",
     47   "telemetry": {
     48     "diagnostics": false,
     49     "metrics": false,
     50   },
     51   "vim_mode": false,
     52   "icon_theme": "Zed (Default)",
     53   "ui_font_size": 16.0,
     54   "buffer_font_size": 13.0,
     55   "theme": {
     56     "mode": "dark",
     57     "light": "One Light",
     58     "dark": "Dark Pop UI",
     59   },
     60   "theme_overrides": {
     61     "Dark Pop UI": {
     62       "syntax": {
     63         "comment": {
     64           "color": "#E5D3B3",
     65           "font_style": "normal",
     66         },
     67         "comment.doc": {
     68           "color": "#E5D3B3",
     69           "font_style": "normal",
     70         },
     71         "punctuation.bracket": {
     72           "color": "#CCCCCCFF",
     73         },
     74         "punctuation.delmiter": {
     75           "color": "#CCCCCCFF",
     76         },
     77         "punctuation.list_marker": {
     78           "color": "#CCCCCCFF",
     79         },
     80         "punctuation.special": {
     81           "color": "#CCCCCCFF",
     82         },
     83       },
     84     },
     85   },
     86   "lsp": {
     87     "discord_presence": {
     88       "initialization_options": {
     89         // Application ID for the rich presence (don't touch it unless you know what you're doing)
     90         "application_id": "1263505205522337886",
     91         // Base URL for all language icons
     92         "base_icons_url": "https://raw.githubusercontent.com/xhyrom/zed-discord-presence/main/assets/icons/",
     93 
     94         "state": "Working on {filename}",
     95         "details": "In {workspace}",
     96         // URL for the large image
     97         "large_image": "{base_icons_url}/{language:lo}.png", // :lo lowercase the language name
     98         "large_text": "{language:u}", // :u capitalizes the first letter
     99         // URL for the small image
    100         "small_image": "{base_icons_url}/zed.png",
    101         "small_text": "Zed",
    102 
    103         // Idle settings - when you're inactive
    104         "idle": {
    105           "timeout": 300, // Idle timeout in seconds (300 seconds = 5 minutes)
    106 
    107           // Action to take when idle
    108           // `change_activity` - changes the activity to idle with the following details
    109           // `clear_activity` - clears the activity (hides it)
    110           "action": "change_activity",
    111 
    112           "state": "Idling",
    113           "details": "In Zed",
    114           "large_image": "{base_icons_url}/zed.png",
    115           "large_text": "Zed",
    116           "small_image": "{base_icons_url}/idle.png",
    117           "small_text": "Idle",
    118         },
    119 
    120         // Rules to disable presence in specific workspaces
    121         "rules": {
    122           "mode": "blacklist", // Can also be "whitelist"
    123           "paths": ["absolute path"],
    124         },
    125 
    126         "git_integration": true,
    127 
    128         // Per-language overrides
    129         "languages": {
    130           "rust": {
    131             "state": "Hacking on {filename}",
    132             "details": "Rustacean at work",
    133           },
    134         },
    135       },
    136     },
    137   },
    138 }