Skip to content

Instantly share code, notes, and snippets.

@edgarcnp
Last active January 8, 2026 19:42
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": "anywhere",
"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,
"rainbow-csv": true, // Add-on Extension
"macos-classic": true, // Editor Theme
"catppuccin-icons": true // Icon Theme
},
"auto_update": true,
"auto_update_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,
"rainbow-csv": true, // Add-on Extension
"macos-classic": true, // Editor Theme
"catppuccin-icons": true // Icon Theme
},
"auto_signature_help": true,
"autosave": {
"after_delay": {
"milliseconds": 350
}
},
"autoscroll_on_clicks": false,
"base_keymap": "JetBrains",
"bottom_dock_layout": "contained",
"buffer_font_family": "GeistMono Nerd Font Mono",
"buffer_font_features": {
"liga": false
},
"buffer_font_size": 20,
"buffer_font_weight": 500,
"buffer_line_height": {
"custom": 1.35
},
"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": 350,
"dock": "right"
},
"colorize_brackets": true,
"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": false,
"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": "hint",
"disable_ai": true, // Annoying!
"double_click_in_multibuffer": "select",
"drag_and_drop_selection": {
"enabled": false
},
"drop_target_size": 0.35,
"enable_language_server": true,
"ensure_final_newline_on_save": true,
"excerpt_context_lines": 3,
"expand_excerpt_lines": 3,
"extend_comment_on_newline": true,
"features": {
"edit_prediction_provider": "none"
},
"format_on_save": "on",
"formatter": "language_server",
"git": {
"branch_picker": {
"show_author_name": true
},
"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,
"default_width": 350,
"dock": "right",
"fallback_branch_name": "main",
"scrollbar": {
"show": "never"
},
"sort_by_path": false,
"status_style": "icon",
"tree_view": true
},
"go_to_definition_fallback": "find_all_references",
"gutter": {
"breakpoints": true,
"folds": true,
"line_numbers": true,
"min_line_number_digits": 4,
"runnables": true
},
"hard_tabs": false,
"helix_mode": false, // :qa! to exit.
"hide_mouse": "never",
"hover_popover_enabled": true,
"hover_popover_delay": 350,
"icon_theme": {
"mode": "dark",
"dark": "Catppuccin Mocha",
"light": "Catppuccin Latte"
},
"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": 350
},
"on_last_window_closed": "platform_default",
"outline_panel": {
"button": false
},
"pane_split_direction_horizontal": "up",
"pane_split_direction_vertical": "left",
"preferred_line_length": 80,
"preview_tabs": {
"enabled": false
},
"project_panel": {
"auto_fold_dirs": true,
"auto_reveal_entries": true,
"auto_open": {
"on_create": true,
"on_paste": true,
"on_drop": true
},
"button": true,
"default_width": 350,
"dock": "left",
"drag_and_drop": true,
"entry_spacing": "comfortable",
"file_icons": true,
"folder_icons": true,
"git_status": true,
"hide_hidden": false,
"hide_root": false,
"indent_guides": {
"show": "always"
},
"indent_size": 20,
"scrollbar": {
"show": null
},
"show_diagnostics": "all",
"sort_mode": "directories_first",
"starts_open": true,
"sticky_scroll": true
},
"read_ssh_config": true,
"redact_private_values": false,
"relative_line_numbers": "disabled",
"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": "off",
"scrollbar": {
"axes": {
"horizontal": false,
"vertical": true
},
"diagnostics": "all",
"git_diff": true,
"search_results": true,
"selected_text": true,
"selected_symbol": true,
"show": "never"
},
"search": {
"button": true,
"whole_word": false,
"case_sensitive": false,
"include_ignored": false,
"regex": false,
"center_on_match": true
},
"search_wrap": true,
"seed_search_query_from_cursor": "always",
"session": {
"restore_unsaved_buffers": true,
"trust_all_worktrees": true
},
"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,
"snippet_sort_order": "inline",
"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": {
"mode": "dark",
"dark": "macOS Classic Dark",
"light": "macOS Classic Light",
},
"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_menu": true,
"show_user_picture": true
},
"toolbar": {
"agent_review": true,
"breadcrumbs": true,
"code_actions": false,
"quick_actions": false,
"selections_menu": false
},
"unnecessary_code_fade": 0.3,
"ui_font_family": "GeistMono Nerd Font Mono",
"ui_font_size": 20,
"ui_font_weight": 500,
"use_auto_surround": true,
"use_autoclose": true,
"use_on_type_format": true,
"use_system_prompts": false,
"use_system_path_prompts": false,
"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