Skip to content

Instantly share code, notes, and snippets.

@LucasAlfare
Last active May 21, 2025 00:19
Show Gist options
  • Save LucasAlfare/39cea967030a045aba4fc7ce4c5c4117 to your computer and use it in GitHub Desktop.
Save LucasAlfare/39cea967030a045aba4fc7ce4c5c4117 to your computer and use it in GitHub Desktop.
My custom Zed configs (for Windows, not Mac/Linux). Took lot from internet, added other by myself.
// LucasAlfare 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)
{
"ui_font_size": 14,
"buffer_font_family": "JetBrains Mono",
"ui_font_family": "JetBrains Mono",
"auto_indent_on_paste": true,
"buffer_font_size": 16,
"theme": {
"mode": "system",
"light": "Catppuccin Frappé - No Italics",
"dark": "One Dark"
},
"autosave": "on_focus_change",
"tabs": {
"file_icons": true,
"git_status": true
},
"indent_guides": {
"enabled": true,
"coloring": "indent_aware"
},
"file_scan_exclusions": [
"**/.git",
"**/.svn",
"**/.hg",
"**/.jj",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings",
"**/vendor"
],
"languages": {
"SQL": {
"tab_size": 2,
"formatter": {
"external": {
"command": "pg_format"
}
}
},
"JavaScript": {
"tab_size": 2,
"formatter": {
"external": {
"command": "prettier",
"arguments": ["--stdin-filepath", "{buffer_path}"]
}
},
"code_actions_on_format": {
"source.fixAll.eslint": true
}
},
"HTML": {
"formatter": {
"external": {
"command": "prettier",
"arguments": ["--stdin-filepath", "{buffer_path}"]
}
}
},
"Go": {
"tab_size": 2
},
// formats rust code using propper rustfmt command
"Rust": {
"tab_size": 2, // sets this for custom tab size. You can configure ~/.rustfmt.toml globally as fallback to set rustfmt config
"formatter": {
"external": {
"command": "rustfmt",
"arguments": ["--emit", "stdout"]
}
}
},
"Make": {
"hard_tabs": true
}
},
// global formatting? Needed?
// "hard_tabs": false,
// "formatter": "prettier",
"format_on_save": "on",
"project_panel": {
"indent_size": 30,
"default_width": 200,
"entry_spacing": "standard",
"file_icons": true,
"folder_icons": false,
"auto_fold_dirs": false,
"auto_reveal_entries": true,
"button": true,
"dock": "left",
"git_status": true,
"indent_guides": {
"show": "never"
}
},
"tab_bar": {
"show_tab_bar_buttons": false,
"show": true,
"show_nav_history_buttons": false
},
"centered_layout": {
"left_padding": 0.15,
"right_padding": 0.15
},
"inlay_hints": {
"enabled": false
},
"features": {
"edit_prediction_provider": "none"
},
"soft_wrap": "editor_width",
"edit_predictions": {
"disabled_globs": []
},
"scrollbar": {
"git_diff": false,
"search_results": false,
"selected_symbol": false,
"diagnostics": "error"
},
"search": {
"case_sensitive": true
},
"telemetry": {
"diagnostics": false,
"metrics": false
},
"diagnostics": {
"inline": {
"enabled": true,
"update_debounce_ms": 150,
"padding": 4,
"min_column": 0,
"max_severity": null
},
"include_warnings": false
},
"gutter": {
"line_numbers": true,
"code_actions": false,
"runnables": false,
"folds": true
},
"preview_tabs": {
"enabled": false,
"enable_preview_from__file_finder": false,
"enable_preview_from_code_navigation": false
},
"git": {
"git_gutter": "hide",
"inline_blame": {
"enabled": false
}
},
"toolbar": {
"breadcrumbs": false,
"quick_actions": false,
"selections_menu": false
},
"agent": {
"version": "2",
"enabled": false
},
"outline_panel": {
"button": false
},
"collaboration_panel": {
"button": false
},
"chat_panel": {
"button": "never"
},
"notification_panel": {
"button": false
},
"task": {
"show_status_indicator": false
},
"line_indicator_format": "short",
// I set all to false
"title_bar": {
"show_branch_icon": false,
"show_sign_in": false,
"show_user_picture": false,
"show_branch_name": false,
"show_onboarding_banner": false,
"show_project_items": false
},
"terminal": {
"dock": "bottom",
"default_width": 640,
"default_height": 320,
"working_directory": "current_project_directory",
"blinking": "terminal_controlled",
"cursor_shape": null,
"alternate_scroll": "off",
"option_as_meta": false,
"copy_on_select": true,
"button": true,
"line_height": "comfortable",
"toolbar": {
"title": false,
"breadcrumbs": false
}
},
"lsp": {
"kotlin-language-server": {
"settings": {
"compiler": {
"jvm": {
"target": "21"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment