Skip to content

Instantly share code, notes, and snippets.

@edgarcnp
Last active October 20, 2025 13:46
Show Gist options
  • Select an option

  • Save edgarcnp/d83f0d4e9040bf5cc977e7b7252796fa to your computer and use it in GitHub Desktop.

Select an option

Save edgarcnp/d83f0d4e9040bf5cc977e7b7252796fa to your computer and use it in GitHub Desktop.
Zed Editor 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)
{
"agent": { // Check docs to enable this feature: https://zed.dev/docs.
"button": false,
"enabled": false
},
"allow_rewrap": "in_comments",
"always_treat_brackets_as_autoclosed": false,
"audio": {
"experimental.rodio_audio": true
},
"auto_indent": true,
"auto_indent_on_paste": true,
"auto_install_extensions": {
"basher": true,
"csharp": true,
"csv": true,
"dart": true,
"docker-compose": true,
"dockerfile": true,
"env": true,
"gdscript": true,
"git-firefly": true,
"graphql": true,
"haskell": true,
"html": true,
"ini": true,
"java": true,
"just": true,
"kotlin": true,
"latex": true,
"log": true,
"lua": true,
"make": true,
"ocaml": true,
"php": true,
"r": true,
"ruby": true,
"scss": true,
"sql": true,
"svelte": true,
"swift": true,
"toml": true,
"vue": true,
"xml": true,
"zig": true,
"nix": true,
"nu": true,
"rainbow-csv": true, // Add-on Extension
"catppuccin-blur": true, // Editor Theme
"catppuccin-icons": true // Icon Theme
},
"auto_update": true,
"auto_signature_help": true,
"autosave": {
"after_delay": {
"milliseconds": 0
}
},
"autoscroll_on_clicks": false,
"base_keymap": "JetBrains",
"bottom_dock_layout": "contained",
"buffer_font_family": "JetBrainsMonoNL Nerd Font",
"buffer_font_size": 19.5,
"buffer_font_weight": 600,
"buffer_line_height": "standard",
"calls": {
// Join calls with the microphone muted by default
"mute_on_join": true,
// Share your project when you are the first to join a channel
"share_on_join": false
},
"close_on_file_delete": false,
"collaboration_panel": {
"button": true,
"default_width": 360,
"dock": "right"
},
"completions": {
"lsp": true,
"lsp_fetch_timeout_ms": 0,
"lsp_insert_mode": "replace_suffix",
"words": "fallback",
"words_min_length": 1
},
"confirm_quit": false,
"current_line_highlight": "gutter",
"cursor_blink": true,
"cursor_shape": "block",
"debugger": {
"button": true,
"dock": "bottom",
"save_breakpoints": true,
"stepping_granularity": "line"
},
"diagnostics": {
"button": true,
"lsp_pull_diagnostics": {
"enabled": true,
"debounce_ms": 0
},
"include_warnings": true,
"inline": {
"enabled": true,
"max_severity": null,
"padding": 1,
"update_debounce_ms": 0
}
},
"diagnostics_max_severity": null,
"disable_ai": true, // Annoying!
"double_click_in_multibuffer": "select",
"drag_and_drop_selection": {
"enabled": false
},
"drop_target_size": 0.5,
"enable_language_server": true,
"ensure_final_newline_on_save": true,
"excerpt_context_lines": 3,
"expand_excerpt_lines": 3,
"features": {
"edit_prediction_provider": "none"
},
"format_on_save": "on",
"formatter": "language_server",
"git": {
"git_gutter": "tracked_files",
"gutter_debounce": 0,
"hunk_style": "staged_hollow",
"inline_blame": {
"delay_ms": 0,
"enabled": true,
"padding": 40,
"show_commit_summary": false
}
},
"git_panel": {
"collapse_untracked_diff": false,
"button": true,
"default_width": 360,
"dock": "right",
"scrollbar": {
"show": "never"
},
"sort_by_path": false,
"status_style": "label_color"
},
"go_to_definition_fallback": "find_all_references",
"gutter": {
"breakpoints": true,
"folds": true,
"line_numbers": true,
"min_line_number_digits": 4,
"runnables": false
},
"hard_tabs": false,
"helix_mode": false, // :qa! to exit.
"hide_mouse": "never",
"hover_popover_enabled": true,
"hover_popover_delay": 0,
"icon_theme": {
"mode": "dark",
"light": "Catppuccin Latte",
"dark": "Catppuccin Mocha"
},
"image_viewer": {
"unit": "binary"
},
"indent_guides": {
"active_line_width": 4,
"background_coloring": "disabled",
"coloring": "indent_aware",
"enabled": true,
"line_width": 3
},
"inlay_hints": {
"enabled": true,
"show_type_hints": true,
"show_parameter_hints": true,
"show_other_hints": true,
"show_background": true,
"edit_debounce_ms": 0,
"scroll_debounce_ms": 0,
"toggle_on_modifiers_press": null
},
"inline_code_actions": true,
"jsx_tag_auto_close": {
"enabled": true
},
"line_indicator_format": "long",
"linked_edits": true,
"load_direnv": "direct",
"lsp_document_colors": "inlay",
"lsp_highlight_debounce": 0,
"max_tabs": 1,
"middle_click_paste": false, // Linux only!
"minimap": {
"max_width_columns": 80,
"display_in": "all_editors",
"current_line_highlight": "all",
"show": "always",
"thumb": "always",
"thumb_border": "full"
},
"notification_panel": {
"default_width": 360
},
"on_last_window_closed": "platform_default",
"outline_panel": {
"button": false
},
"preferred_line_length": 80,
"preview_tabs": {
"enabled": false
},
"project_panel": {
"auto_fold_dirs": true,
"auto_reveal_entries": true,
"button": true,
"default_width": 360,
"dock": "left",
"drag_and_drop": true,
"entry_spacing": "comfortable",
"file_icons": true,
"folder_icons": true,
"git_status": true,
"hide_gitignore": false,
"hide_root": false,
"indent_guides": {
"show": "always"
},
"indent_size": 25,
"scrollbar": {
"show": "never"
},
"show_diagnostics": "all",
"starts_open": true,
"sticky_scroll": true
},
"read_ssh_config": true,
"relative_line_numbers": false,
"remove_trailing_whitespace_on_save": true,
"resize_all_panels_in_dock": [
"bottom",
"left",
"right"
],
"restore_on_file_reopen": true,
"restore_on_startup": "last_session",
"rounded_selection": true,
"scroll_beyond_last_line": "vertical_scroll_margin",
"scrollbar": {
"axes": {
"horizontal": false,
"vertical": true
},
"diagnostics": "all",
"git_diff": true,
"search_results": true,
"selected_text": true,
"selected_symbol": true,
"show": "never"
},
"search_wrap": true,
"seed_search_query_from_cursor": "always",
"selection_highlight": true,
"show_call_status_icon": true,
"show_completion_documentation": true,
"show_completions_on_input": true,
"show_edit_predictions": false,
"show_signature_help_after_edits": true,
"show_whitespaces": "selection",
"show_wrap_guides": true,
"soft_wrap": "editor_width",
"status_bar": {
"active_language_button": true,
"cursor_position_button": true
},
"tabs": {
"activate_on_close": "left_neighbour",
"close_position": "right",
"file_icons": true,
"git_status": true,
"show_close_button": "hidden",
"show_diagnostics": "all"
},
"tab_bar": {
"show": true,
"show_nav_history_buttons": false,
"show_tab_bar_buttons": false
},
"tab_size": 4,
"telemetry": {
"diagnostics": true,
"metrics": true
},
"terminal": {
"button": false
},
"theme": {
"dark": "Catppuccin Espresso (Blur) [Heavy]",
"light": "Catppuccin Iced Latte (Blur) [Heavy]",
"mode": "dark"
},
"title_bar": {
"show_branch_icon": true,
"show_branch_name": true,
"show_menus": true,
"show_onboarding_banner": false,
"show_project_items": true,
"show_sign_in": true,
"show_user_picture": true
},
"toolbar": {
"agent_review": false,
"breadcrumbs": true,
"code_actions": false,
"quick_actions": false,
"selections_menu": false
},
"unnecessary_code_fade": 0.3,
"ui_font_family": "JetBrainsMonoNL Nerd Font",
"ui_font_size": 18.5,
"ui_font_weight": 600,
"use_auto_surround": true,
"use_autoclose": true,
"use_on_type_format": true,
"use_system_path_prompts": true,
"vim_mode": false, // :qa! to exit.
"when_closing_with_no_tabs": "keep_window_open"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment