From 0a7ba7b011ff197d6e89b6769f0923f82e6eac9d Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 23 Nov 2025 16:59:09 +0800 Subject: bump: zed --- dot-config/zed/keymap.json | 26 ++-- dot-config/zed/settings.json | 6 + dot-config/zed/themes/wal.json | 337 ----------------------------------------- 3 files changed, 22 insertions(+), 347 deletions(-) delete mode 100644 dot-config/zed/themes/wal.json (limited to 'dot-config/zed') diff --git a/dot-config/zed/keymap.json b/dot-config/zed/keymap.json index fa4e1482..c3fb9f4e 100644 --- a/dot-config/zed/keymap.json +++ b/dot-config/zed/keymap.json @@ -844,31 +844,37 @@ { "context": "!menu", "bindings": { - "ctrl-l": "workspace::ActivatePaneRight" + "ctrl-shift-l": "workspace::ActivatePaneRight" } }, { "context": "!menu", "bindings": { - "ctrl-h": "workspace::ActivatePaneLeft" + "ctrl-shift-h": "workspace::ActivatePaneLeft" } }, { "context": "!menu", "bindings": { - "ctrl-k": "workspace::ActivatePaneUp" + "ctrl-shift-k": "workspace::ActivatePaneUp" } }, { "context": "!menu", "bindings": { - "ctrl-j": "workspace::ActivatePaneDown" + "ctrl-shift-j": "workspace::ActivatePaneDown" } }, - { - "context": "(VimControl && !menu)", - "bindings": { - "ctrl-i": "pane::GoForward" - } - } + { + "context": "(VimControl && !menu)", + "bindings": { + "ctrl-i": "pane::GoForward" + } + }, + { + "context": "Picker > Editor", + "bindings": { + "ctrl-n": null + } + } ] diff --git a/dot-config/zed/settings.json b/dot-config/zed/settings.json index adbed169..1c118ca3 100644 --- a/dot-config/zed/settings.json +++ b/dot-config/zed/settings.json @@ -7,6 +7,12 @@ // custom settings, run `zed: open default settings` from the // command palette (cmd-shift-p / ctrl-shift-p) { + "features": { + "edit_prediction_provider": "copilot" + }, + "edit_predictions": { + "mode": "subtle" + }, "git": { "inline_blame": { "show_commit_summary": true, diff --git a/dot-config/zed/themes/wal.json b/dot-config/zed/themes/wal.json deleted file mode 100644 index e0ab573e..00000000 --- a/dot-config/zed/themes/wal.json +++ /dev/null @@ -1,337 +0,0 @@ -{ - "$schema": "https://zed.dev/schema/themes/v0.1.0.json", - "name": "wal Theme", - "author": "Fuwn ", - "themes": [ - { - "name": "wal2", - "appearance": "dark", - "style": { - "background.appearance": "blurred", - "border": "#A5537B77", - "border.variant": "#A5537B55", - "border.focused": "#55005C", - "border.selected": "#55005C77", - "border.transparent": "#A5537B33", - "border.disabled": "#A5537B55", - "elevated_surface.background": "#403A4A", - "surface.background": "#403A4A", - "background": "#181321b3", - "element.background": "#403A4A", - "element.hover": "#A5537B33", - "element.active": "#A5537B55", - "element.selected": "#9F006677", - "element.disabled": "#A5537B33", - "drop_target.background": "#55005C33", - "ghost_element.background": "#18132100", - "ghost_element.hover": "#A5537B22", - "ghost_element.active": "#A5537B44", - "ghost_element.selected": "#A5537B66", - "ghost_element.disabled": "#A5537B22", - "text": "#F8A6CD", - "text.muted": "#A5537B", - "text.placeholder": "#A5537B", - "text.disabled": "#A5537B", - "text.accent": "#55005C", - "icon": "#A5537B", - "icon.muted": "#A5537B77", - "icon.disabled": "#A5537B55", - "icon.placeholder": "#A5537B66", - "icon.accent": "#55005C", - "status_bar.background": "#181321CC", - "title_bar.background": "#181321CC", - "toolbar.background": "#18132100", - "tab_bar.background": "#18132100", - "tab.inactive_background": "#18132100", - "tab.active_background": "#18132100", - "tab.active_foreground": "#F8A6CD", - "tab.inactive_foreground": "#F8A6CD99", - "tab.unfocused_active_foreground": "#F8A6CD99", - "tab.unfocused_inactive_foreground": "#F8A6CD77", - "search.match_background": "#55005C44", - "panel.background": "#18132100", - "panel.focused_border": "#55005C", - "pane.focused_border": "#55005C", - "pane_group.border": "#A5537B33", - "scrollbar.thumb.background": "#EC77AF44", - "scrollbar.thumb.hover_background": "#EC77AF77", - "scrollbar.thumb.border": "transparent", - "scrollbar.track.background": "#18132100", - "scrollbar.track.border": "transparent", - "editor.foreground": "#F8A6CD", - "editor.background": "#18132100", - "editor.gutter.background": "#18132100", - "editor.subheader.background": "#403A4A", - "editor.active_line.background": "#EC77AF22", - "editor.highlighted_line.background": "#A5537B33", - "editor.line_number": "#A5537B", - "editor.active_line_number": "#EC77AF", - "editor.invisible": "#A5537B66", - "editor.wrap_guide": "#A5537B44", - "editor.active_wrap_guide": "#A5537B77", - "editor.document_highlight.read_background": "#A5537B44", - "editor.document_highlight.write_background": "#74006077", - "terminal.background": "#18132100", - "terminal.foreground": "#F8A6CD", - "terminal.bright_foreground": "#EC77AF", - "terminal.dim_foreground": "#A5537B", - "terminal.ansi.black": "#403A4A", - "terminal.ansi.bright_black": "#A5537B", - "terminal.ansi.dim_black": "#A5537B", - "terminal.ansi.red": "#55005C", - "terminal.ansi.bright_red": "#55005C", - "terminal.ansi.dim_red": "#55005C", - "terminal.ansi.green": "#740060", - "terminal.ansi.bright_green": "#740060", - "terminal.ansi.dim_green": "#740060", - "terminal.ansi.yellow": "#760261", - "terminal.ansi.bright_yellow": "#760261", - "terminal.ansi.dim_yellow": "#760261", - "terminal.ansi.blue": "#9F0066", - "terminal.ansi.bright_blue": "#9F0066", - "terminal.ansi.dim_blue": "#9F0066", - "terminal.ansi.magenta": "#0867B8", - "terminal.ansi.bright_magenta": "#0867B8", - "terminal.ansi.dim_magenta": "#0867B8", - "terminal.ansi.cyan": "#EB0070", - "terminal.ansi.bright_cyan": "#EB0070", - "terminal.ansi.dim_cyan": "#EB0070", - "terminal.ansi.white": "#EC77AF", - "terminal.ansi.bright_white": "#EC77AF", - "terminal.ansi.dim_white": "#EC77AF", - "link_text.hover": "#EB0070", - "conflict": "#9F0066", - "conflict.background": "#9F006633", - "conflict.border": "#9F0066", - "created": "#740060", - "created.background": "#74006033", - "created.border": "#740060", - "deleted": "#55005C", - "deleted.background": "#55005C33", - "deleted.border": "#55005C", - "error": "#55005C", - "error.background": "#55005C22", - "error.border": "#55005C", - "hidden": "#A5537B77", - "hidden.background": "#A5537B22", - "hidden.border": "#A5537B55", - "hint": "#EC77AF", - "hint.background": "#EC77AF22", - "hint.border": "#EC77AF55", - "ignored": "#A5537B66", - "ignored.background": "#A5537B22", - "ignored.border": "#A5537B44", - "info": "#9F0066", - "info.background": "#9F006622", - "info.border": "#9F0066", - "modified": "#9F0066", - "modified.background": "#9F006633", - "modified.border": "#9F0066", - "predictive": "#0867B8", - "predictive.background": "#0867B822", - "predictive.border": "#0867B8", - "renamed": "#EB0070", - "renamed.background": "#EB007033", - "renamed.border": "#EB0070", - "success": "#740060", - "success.background": "#74006022", - "success.border": "#740060", - "unreachable": "#A5537B55", - "unreachable.background": "#A5537B22", - "unreachable.border": "#A5537B44", - "warning": "#760261", - "warning.background": "#76026122", - "warning.border": "#760261", - "players": [ - { - "cursor": "#B65397", - "background": "#55005C33", - "selection": "#A5537B77" - } - ], - "syntax": { - "attribute": { - "color": "#760261", - "font_style": "normal", - "font_weight": "700" - }, - "comment": { - "color": "#A5537B", - "font_style": "italic", - "font_weight": "normal" - }, - "comment.doc": { - "color": "#A5537B", - "font_style": "italic", - "font_weight": "normal" - }, - "constant": { - "color": "#760261", - "font_style": "normal", - "font_weight": "700" - }, - "constant.builtin": { - "color": "#760261", - "font_style": "normal", - "font_weight": "700" - }, - "constant.language": { - "color": "#760261", - "font_style": "normal", - "font_weight": "700" - }, - "constructor": { - "color": "#55005C", - "font_style": "italic", - "font_weight": "normal" - }, - "embedded": { - "color": "#F8A6CD", - "font_style": "normal", - "font_weight": "normal" - }, - "function": { - "color": "#55005C", - "font_style": "normal", - "font_weight": "700" - }, - "function.builtin": { - "color": "#55005C", - "font_style": "normal", - "font_weight": "700" - }, - "function.call": { - "color": "#55005C", - "font_style": "normal", - "font_weight": "700" - }, - "keyword": { - "color": "#EB0070", - "font_style": "normal", - "font_weight": "700" - }, - "keyword.operator": { - "color": "#9F0066", - "font_style": "normal", - "font_weight": "normal" - }, - "link_text": { - "color": "#EB0070", - "font_style": "normal", - "font_weight": "normal" - }, - "link_uri": { - "color": "#9F0066", - "font_style": "normal", - "font_weight": "normal" - }, - "number": { - "color": "#760261", - "font_style": "normal", - "font_weight": "700" - }, - "operator": { - "color": "#9F0066", - "font_style": "normal", - "font_weight": "normal" - }, - "property": { - "color": "#740060", - "font_style": "normal", - "font_weight": "normal" - }, - "punctuation": { - "color": "#F8A6CD", - "font_style": "normal", - "font_weight": "normal" - }, - "punctuation.bracket": { - "color": "#F8A6CD", - "font_style": "normal", - "font_weight": "normal" - }, - "punctuation.delimiter": { - "color": "#F8A6CD", - "font_style": "normal", - "font_weight": "normal" - }, - "punctuation.list_marker": { - "color": "#EC77AF", - "font_style": "normal", - "font_weight": "normal" - }, - "punctuation.special": { - "color": "#EC77AF", - "font_style": "normal", - "font_weight": "normal" - }, - "string": { - "color": "#740060", - "font_style": "normal", - "font_weight": "700" - }, - "string.escape": { - "color": "#0867B8", - "font_style": "normal", - "font_weight": "normal" - }, - "string.regex": { - "color": "#EB0070", - "font_style": "normal", - "font_weight": "normal" - }, - "string.special": { - "color": "#EB0070", - "font_style": "normal", - "font_weight": "normal" - }, - "string.special.symbol": { - "color": "#740060", - "font_style": "normal", - "font_weight": "normal" - }, - "tag": { - "color": "#760261", - "font_style": "normal", - "font_weight": "700" - }, - "text.literal": { - "color": "#740060", - "font_style": "normal", - "font_weight": "normal" - }, - "type": { - "color": "#9F0066", - "font_style": "normal", - "font_weight": "700" - }, - "type.builtin": { - "color": "#EC77AF", - "font_style": "italic", - "font_weight": "normal" - }, - "variable": { - "color": "#F8A6CD", - "font_style": "normal", - "font_weight": "normal" - }, - "variable.member": { - "color": "#EC77AF", - "font_style": "normal", - "font_weight": "700" - }, - "variable.parameter": { - "color": "#0867B8", - "font_style": "italic", - "font_weight": "normal" - }, - "variable.special": { - "color": "#EC77AF", - "font_style": "italic", - "font_weight": "normal" - } - } - } - } - ] -} \ No newline at end of file -- cgit v1.2.3