commit c50f7b182b216bddb5eb56c69ad359d165a5ca88 Author: arrelin Date: Tue Jun 23 15:54:06 2026 +0300 zed config: settings, keymap, Pure Black theme diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b1027c8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/* +!/.gitignore +!/zed/ diff --git a/zed/keymap.json b/zed/keymap.json new file mode 100644 index 0000000..432067b --- /dev/null +++ b/zed/keymap.json @@ -0,0 +1,66 @@ +// Zed keymap +// +// For information on binding keys, see the Zed +// documentation: https://zed.dev/docs/key-bindings +// +// To see the default key bindings run `zed: open default keymap` +// from the command palette. +[ + { + "context": "Workspace", + "bindings": { + // "shift shift": "file_finder::Toggle" + }, + }, + { + "context": "Editor && vim_mode == insert", + "bindings": { + // "j k": "vim::NormalBefore" + }, + }, + { + "context": "Pane", + "bindings": { + "alt-4": "outline_panel::ToggleFocus" + } + }, + { + "context": "Pane", + "unbind": { + "alt-7": "outline_panel::ToggleFocus" + } + }, + { + "context": "Workspace", + "unbind": { + "alt-7": "outline_panel::ToggleFocus" + } + }, + { + "context": "Workspace || Editor", + "bindings": { + "alt-3": "terminal_panel::Toggle" + } + }, + { + "context": "Workspace || Editor", + "unbind": { + "alt-f12": "terminal_panel::Toggle" + } + }, + { + "bindings": { + "alt-4": "git_panel::Toggle" + } + }, + { + "bindings": { + "alt-2": "outline_panel::Toggle" + } + }, + { + "bindings": { + "alt-3": "terminal_panel::ToggleFocus" + } + } +] diff --git a/zed/settings.json b/zed/settings.json new file mode 100644 index 0000000..78f93bc --- /dev/null +++ b/zed/settings.json @@ -0,0 +1,62 @@ +// 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) +{ + "preview_tabs": { + "enabled": false + }, + "toolbar": { + "breadcrumbs": true + }, + "ui_font_family": "JetBrainsMono Nerd Font", + "buffer_font_family": "JetBrainsMono Nerd Font", + "outline_panel": { + "dock": "left", + "button": true + }, + "terminal": { + "show_count_badge": false, + "flexible": true, + "dock": "right" + }, + "project_panel": { + "git_status": true, + "entry_spacing": "comfortable", + "default_width": 240.0, + "dock": "left" + }, + "disable_ai": true, + "proxy": "", + "icon_theme": "Material Icon Theme", + "telemetry": { + "diagnostics": false, + "metrics": false, + "anthropic_retention": false + }, + "session": { + "trust_all_worktrees": true + }, + "base_keymap": "JetBrains", + "ui_font_size": 16, + "buffer_font_size": 15, + "theme": "Pure Black", + "auto_install_extensions": { + "catppuccin": true, + "dockerfile": true, + "gdscript": true, + "git-firefly": true, + "github-theme": true, + "html": true, + "material-icon-theme": true, + "one-dark-pro": true, + "sql": true, + "the-dark-side": true, + "tokyo-night": true, + "xml": true + }, +} diff --git a/zed/themes/Pure Black.json b/zed/themes/Pure Black.json new file mode 100644 index 0000000..178883e --- /dev/null +++ b/zed/themes/Pure Black.json @@ -0,0 +1,159 @@ +{ + "$schema": "https://zed.dev/schema/themes/v0.1.0.json", + "name": "Pure Black", + "author": "Arrelin", + "themes": [ + { + "name": "Pure Black", + "appearance": "dark", + "style": { + "info.background": "#0C194D", + "info.border": "#0C194D", + "info.foreground": "#ffffff", + "warning.background": "#3A310E", + "warning.foreground": "#ffffff", + "warning.border": "#3A310E", + "error.background": "#4D0C0C", + "error.foreground": "#ffffff", + "error.border": "#4D0C0C", + "predictive": "#7f848e", + "predictive.background": "#E6E9EF", + "predictive.border": "#7f848e", + "background": "#000000", + "editor.background": "#000000", + "border": "#ffffff20", + "border.variant": "#000000", + "element.background": "#000000", + "element.active": "#ffffff20", + "element.hover": "#ffffff20", + "editor.active_line_number": "#FFFFFF", + "status_bar.background": "#000000", + "status_bar.foreground": "#ffffff", + "title_bar.background": "#000000", + "title_bar.foreground": "#ffffff", + "tab.active_background": "#ffffff20", + "tab.active_foreground": "#ffffff", + "tab.inactive_background": "#000000", + "tab_bar.background": "#000000", + "editor.gutter.background": "#000000", + "panel.background": "#000000", + "panel.focused_border": "#ffffff", + "toolbar.background": "#000000", + "terminal.background": "#000000", + "terminal.foreground": "#ffffff", + "terminal.ansi.red": "#d20f39", + "terminal.ansi.bright_red": "#d20f39", + "terminal.ansi.dim_red": null, + "terminal.ansi.bright_black": "#7f848e", + "terminal.bright_foreground": null, + "terminal.ansi.black": "#bcc0cc", + "terminal.ansi.dim_black": null, + "terminal.ansi.cyan": "#7287FD", + "terminal.ansi.bright_cyan": "#7287FD", + "terminal.ansi.dim_cyan": null, + "terminal.ansi.white": "#acb0be", + "terminal.ansi.bright_white": "#5c5f77", + "terminal.ansi.dim_white": null, + "terminal.ansi.yellow": "#e5c07b", + "terminal.ansi.bright_yellow": "#e5c07b", + "terminal.ansi.dim_yellow": null, + "terminal.ansi.green": "#40a02b", + "terminal.ansi.bright_green": "#40a02b", + "terminal.ansi.dim_green": null, + "terminal.ansi.blue": "#1e66f5", + "terminal.ansi.bright_blue": "#1e66f5", + "terminal.ansi.dim_blue": null, + "terminal.ansi.magenta": "#ea76cb", + "terminal.ansi.bright_magenta": "#ea76cb", + "terminal.ansi.dim_magenta": null, + "scrollbar.thumb.background": "#ffffff40", + "scrollbar.thumb.hover_background": "#ffffff60", + "scrollbar.thumb.border": "#000000", + "scrollbar.track.background": "#000000", + "scrollbar.track.border": "#000000", + "editor.active_line.background": "#ffffff25", + "editor.highlighted_line.background": "#000000", + "editor.line_number": "#ffffff30", + "elevated_surface.background": "#0D0E0E", + "elevated_surface.border": "#ffffff", + "surface.background": "#000000", + "modified": "#e5c07b", + "syntax": { + "exception": { + "color": "#DC143C" + }, + "type.function": { + "color": "#e1ab32" + }, + "function.method": { + "color": "#DC143C" + }, + "comment": { + "color": "#7f848e", + "font_style": "italic" + }, + "keyword": { + "color": "#7725EE" + }, + "string": { + "color": "#e1ab32" + }, + "keyword.conditional": { + "color": "#ff6700" + }, + "keyword.coroutine": { + "color": "#ff6700" + }, + "keyword.repeat": { + "color": "#ff6700" + }, + "keyword.exception": { + "color": "#DC143C" + }, + "keyword.operator": { + "color": "#ff6700" + }, + "string.escape": { + "color": "#EA76CB" + }, + "boolean": { + "color": "#e5c07b" + }, + "constant": { + "color": "#DC143C" + }, + "punctuation.special": { + "color": "#ff6700" + }, + "number": { + "color": "#e5c07b" + }, + "punctuation": { + "color": "#7755EE" + }, + "variable": { + "color": "#df881d" + }, + "operator": { + "color": "#7755EE" + }, + "type": { + "color": "#9a77cf" + }, + "variable.builtin": { + "color": "#ff6700" + }, + "variable.parameter": { + "color": "#ff6700" + } + }, + "players": [ + { + "cursor": "#ffffff", + "selection": "#ffffff20" + } + ] + } + } + ] +}