Skip to content

Instantly share code, notes, and snippets.

@daveio
Created May 7, 2025 13:35
Show Gist options
  • Save daveio/6ed3b8d9d4dfd542c7aa5fc127d809e5 to your computer and use it in GitHub Desktop.
Save daveio/6ed3b8d9d4dfd542c7aa5fc127d809e5 to your computer and use it in GitHub Desktop.
Zed config (~/.config/zed/settings.json)
{
"active_pane_magnification": 1.2,
"assistant": {
"default_height": 500,
"default_model": {
"model": "claude-3-7-sonnet-thinking-latest",
"provider": "zed.dev"
},
"default_width": 500,
"dock": "left",
"inline_assistant_model": {
"model": "claude-3-7-sonnet-thinking-latest",
"provider": "zed.dev"
},
"version": "2"
},
"auto_install_extensions": {
"GraphQL": true,
"LOG": true,
"NGINX": true,
"Python": true,
"SCSS": true,
"XML": true
},
"buffer_font_family": "VictorMono Nerd Font Mono",
"buffer_font_size": 18,
"chat_panel": {
"button": "always"
},
"collaboration_panel": {
"button": true
},
"ensure_final_newline_on_save": true,
"experimental.theme_overrides": {
"syntax": {
"comment": {
"font_style": "italic"
},
"comment.doc": {
"font_style": "italic"
}
}
},
"features": {
"completion_prediction_provider": "supermaven",
"copilot": true,
"edit_prediction_provider": "supermaven"
},
"format_on_save": "on",
"formatter": "prettier",
"git_panel": {
"dock": "right"
},
"gutter": {
"code_actions": true
},
"hard_tabs": false,
"icon_theme": "Catppuccin Frappé",
"indent_guides": {
"line_width": 10
},
"inlay_hints": {
"scroll_debounce_ms": 250
},
"language_overrides": {
"Python": {
"format_on_save": {
"external": {
"arguments": ["-"],
"command": "black"
}
}
}
},
"languages": {
"CSS": {
"code_actions_on_format": {
"source.fixAll.stylelint": true
},
"indent_size": 2,
"prettier": {
"allowed": true
}
},
"Diff": {
"ensure_final_newline_on_save": false,
"remove_trailing_whitespace_on_save": false
},
"Fish": {
"tab_size": 4
},
"GraphQL": {
"prettier": {
"allowed": true
}
},
"HTML": {
"prettier": {
"allowed": true
}
},
"JSON": {
"code_actions_on_format": {
"source.fixAll.eslint": true
},
"formatter": {
"external": {
"arguments": ["--stdin-filepath", "{buffer_path}"],
"command": "prettier"
}
},
"indent_size": 2
},
"JSONC": {
"code_actions_on_format": {
"source.fixAll.eslint": true
},
"formatter": {
"external": {
"arguments": ["--stdin-filepath", "{buffer_path}"],
"command": "prettier"
}
},
"indent_size": 2
},
"JavaScript": {
"code_actions_on_format": {
"source.fixAll.eslint": true
},
"formatter": {
"external": {
"arguments": ["--stdin-filepath", "{buffer_path}"],
"command": "prettier"
}
},
"indent_size": 2
},
"Markdown": {
"format_on_save": "off",
"prettier": {
"allowed": true
},
"use_on_type_format": false
},
"Python": {
"code_actions_on_format": {
"source.organizeImports": true
},
"indent_size": 2
},
"SCSS": {
"code_actions_on_format": {
"source.fixAll.stylelint": true
},
"indent_size": 2,
"prettier": {
"allowed": true
}
},
"TSX": {
"code_actions_on_format": {
"source.fixAll.eslint": true
},
"formatter": {
"external": {
"arguments": ["--stdin-filepath", "{buffer_path}"],
"command": "prettier"
}
},
"indent_size": 2
},
"TypeScript": {
"code_actions_on_format": {
"source.fixAll.eslint": true
},
"formatter": {
"external": {
"arguments": ["--stdin-filepath", "{buffer_path}"],
"command": "prettier"
}
},
"indent_size": 2
},
"YAML": {
"prettier": {
"allowed": true
}
}
},
"lsp": {
"eslint": {
"settings": {
"codeActionOnSave": {
"rules": ["import/order"]
}
}
}
},
"notification_panel": {
"button": false
},
"outline_panel": {
"dock": "right"
},
"prettier": {
"allowed": true,
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"overrides": [
{
"files": ["*.json"],
"options": {
"singleQuote": false
}
}
],
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"project_panel": {
"default_width": 100,
"dock": "left",
"indent_size": 12
},
"remove_trailing_whitespace_on_save": true,
"scroll_sensitivity": 2,
"show_call_status_icon": true,
"show_whitespaces": "all",
"soft_wrap": "editor_width",
"tab_bar": {
"show_nav_history_buttons": true
},
"tab_size": 2,
"tabs": {
"file_icons": true,
"git_status": true
},
"telemetry": {
"diagnostics": true,
"metrics": true
},
"theme": {
"dark": "Catppuccin Frappé (Blur)",
"light": "Monokai Pro Light (Filter Sun)",
"mode": "system"
},
"toolbar": {
"breadcrumbs": true,
"quick_actions": true
},
"ui_font_family": "M+2 Nerd Font Propo",
"ui_font_size": 16,
"vertical_scroll_margin": 6
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment