diff --git a/dotfiles/.config/zed/settings.json b/dotfiles/.config/zed/settings.json new file mode 100644 index 00000000..0d03861f --- /dev/null +++ b/dotfiles/.config/zed/settings.json @@ -0,0 +1,139 @@ +// Trude's 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 the `open default settings` command +// from the command palette or from `Zed` application menu. +{ + "base_keymap": "VSCode", + "vim_mode": false, + "telemetry": { + "diagnostics": false, + "metrics": false + }, + "ui_font_size": 14, + "buffer_font_size": 14, + "buffer_font_family": "JetBrainsMono NF", + "buffer_font_features": { + // Enable ligatures: + "calt": true + }, + "buffer_font_weight": 300, + "buffer_line_height": "comfortable", + "ui_font_family": "JetBrainsMono NF", + // The OpenType features to enable for text in the UI + "ui_font_features": { + "calt": true + }, + "hover_popover_enabled": true, + "confirm_quit": false, + "restore_on_startup": "last_workspace", + "show_completions_on_input": true, + "show_completion_documentation": true, + "show_wrap_guides": true, + "redact_private_values": true, + "private_files": [ + "**/.env*", + "**/*.pem", + "**/*.key", + "**/*.cert", + "**/*.crt", + "**/secrets.yml" + ], + "use_on_type_format": true, + "use_autoclose": true, + "use_auto_surround": true, + "always_treat_brackets_as_autoclosed": false, + "show_inline_completions": true, + "calls": { + "mute_on_join": true, + "share_on_join": false + }, + "toolbar": { + "breadcrumbs": true, + "quick_actions": true, + "selections_menu": true + }, + "message_editor": { + "auto_replace_emoji_shortcode": false + }, + "enable_language_server": true, + "autosave": "off", + "tab_bar": { + "show": true, + "show_nav_history_buttons": true + }, + "tabs": { + "git_status": false, + "close_position": "right" + }, + "format_on_save": "on", + "formatter": "auto", + "auto_update": true, + "file_scan_exclusions": [ + "**/.git", + "**/.svn", + "**/.hg", + "**/CVS", + "**/.DS_Store", + "**/Thumbs.db", + "**/.classpath", + "**/.settings" + ], + "auto_install_extensions": { + "html": true, + "make": true, + "emmet": true + }, + "languages": { + "C": { + "format_on_save": "on" + }, + "C++": { + "format_on_save": "on" + } + }, + "vim": { + "use_system_clipboard": "always", + "use_multiline_find": false, + "use_smartcase_find": false + }, + "server_url": "https://zed.dev", + "terminal": { + "shell": "system", + "dock": "bottom", + "default_width": 640, + "default_height": 320, + "working_directory": "current_project_directory", + "blinking": "terminal_controlled", + "alternate_scroll": "on", + "option_as_meta": false, + "copy_on_select": true, + "button": true, + "env": { + // "KEY": "value1:value2" + }, + "line_height": "standard", + "detect_venv": { + "on": { + "directories": [".env", "env", ".venv", "venv"], + "activate_script": "default" + } + }, + "toolbar": { + "title": true + } + }, + "code_actions_on_format": {}, + "tasks": { + "variables": {} + }, + "show_whitespaces": "selection", + "theme": { + "mode": "system", + "light": "One Light", + "dark": "Ayu Dark" + } +}