configs

configs
git clone https://git.prime8.dev/configs.git
Log | Files | Refs | README

commit 848d6e403f9814df5806cec86b05eca20a0d53e0
parent cb4becd247236712ac1ca2d1f14ee6c449a15dc4
Author: Damian Myrda <damian@prime8.dev>
Date:   Wed,  7 Jan 2026 14:37:50 -0600

Add Zed editor config

Diffstat:
Mlink.sh | 5+++++
Aprograms/zed/keymap.json | 33+++++++++++++++++++++++++++++++++
Aprograms/zed/settings.json | 40++++++++++++++++++++++++++++++++++++++++
Aprograms/zed/tasks.json | 9+++++++++
4 files changed, 87 insertions(+), 0 deletions(-)

diff --git a/link.sh b/link.sh @@ -44,4 +44,9 @@ link_config "$PROGRAMS_DIR/opencode/plugin" "$CONFIG_DIR/opencode/plugin" # Karabiner link_config "$PROGRAMS_DIR/karabiner/karabiner.json" "$CONFIG_DIR/karabiner/karabiner.json" +# Zed +link_config "$PROGRAMS_DIR/zed/settings.json" "$CONFIG_DIR/zed/settings.json" +link_config "$PROGRAMS_DIR/zed/keymap.json" "$CONFIG_DIR/zed/keymap.json" +link_config "$PROGRAMS_DIR/zed/tasks.json" "$CONFIG_DIR/zed/tasks.json" + echo "✅ Config symlinks complete!" diff --git a/programs/zed/keymap.json b/programs/zed/keymap.json @@ -0,0 +1,33 @@ +[ + // Global bindings (except terminal) + { + "context": "!Terminal", + "bindings": { + // Panels + "space e": "project_panel::ToggleFocus", + "space t": "workspace::ToggleRightDock", + "space d": "diagnostics::Deploy", + + // Navigation + "space p": "projects::OpenRecent", + "space b": "tab_switcher::Toggle", + "space s": "outline::Toggle", + "space g": "project_symbols::Toggle", + + // Actions + "space o": ["task::Spawn", { "task_name": "OpenCode" }], + "space q": "pane::CloseActiveItem", + "space w": "workspace::Save" + } + }, + + // Editor bindings (helix/vim mode) + { + "context": "VimControl", + "bindings": { + "g r": "editor::FindAllReferences", + "g i": "editor::GoToImplementation", + "K": "editor::Hover" + } + } +] diff --git a/programs/zed/settings.json b/programs/zed/settings.json @@ -0,0 +1,40 @@ +{ + // Editor + "helix_mode": true, + "relative_line_numbers": "enabled", + "hard_tabs": false, + "indent_guides": { + "line_width": 1 + }, + + // Font + "ui_font_size": 14, + "buffer_font_size": 14, + + // Theme + "theme": { + "mode": "system", + "light": "Gruvbox Light", + "dark": "Gruvbox Dark Hard" + }, + + // Terminal + "terminal": { + "dock": "right", + "default_width": 480, + "shell": { + "program": "fish" + } + }, + + // AI + "features": { + "edit_prediction_provider": "copilot" + }, + + // Privacy + "telemetry": { + "diagnostics": false, + "metrics": false + } +} diff --git a/programs/zed/tasks.json b/programs/zed/tasks.json @@ -0,0 +1,9 @@ +[ + { + "label": "OpenCode", + "command": "opencode", + "use_new_terminal": true, + "reveal": "always", + "hide": "on_success" + } +]