From 83a73e6a235dcc884b589d994cfdd3cfc54d1034 Mon Sep 17 00:00:00 2001 From: Dilan Gilluly Date: Thu, 12 Mar 2026 22:59:22 -0400 Subject: [PATCH] Zed --- .config/zed/settings.json | 72 +++++++++++++++++++++++++++++++++++++++ make-links.sh | 7 +++- 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 .config/zed/settings.json diff --git a/.config/zed/settings.json b/.config/zed/settings.json new file mode 100644 index 0000000..7879198 --- /dev/null +++ b/.config/zed/settings.json @@ -0,0 +1,72 @@ +// 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) +{ + "ui_font_family": "ComicShannsMono Nerd Font", + "buffer_font_family": "ComicShannsMono Nerd Font Mono", + "agent_servers": { + "opencode": { + "type": "registry" + } + }, + "disable_ai": false, + "show_edit_predictions": false, + "show_completion_documentation": true, + "show_completions_on_input": true, + "edit_predictions": { + "ollama": { + "model": "gemma3:4b" + }, + "provider": "ollama" + }, + "auto_update": false, + "session": { + "trust_all_worktrees": true, + "restore_unsaved_buffers": false + }, + "agent": { + "default_model": { + "provider": "ollama", + "model": "gemma3:4b", + }, + "favorite_models": [], + "model_parameters": [], + }, + "restore_on_startup": "empty_tab", + "format_on_save": "off", + "title_bar": { + "show_sign_in": false + }, + "project_panel": { + "dock": "left", + "auto_fold_dirs": false, + "auto_reveal_entries": true + }, + "telemetry": { + "diagnostics": true, + "metrics": false + }, + "ui_font_size": 16, + "buffer_font_size": 16.0, + "theme": { + "mode": "system", + "light": "Ayu Light", + "dark": "Ayu Dark", + }, + "language_models": { + "ollama": { + "available_models": [ + { + "name": "gemma3:4b", + "max_tokens": 32768, + "keep_alive": "15m" + } + ] + } + } +} diff --git a/make-links.sh b/make-links.sh index ec43ea3..78bdb3a 100755 --- a/make-links.sh +++ b/make-links.sh @@ -20,6 +20,11 @@ echo "Making links for NVIM" ln -sfT $PWD/.config/nvim ~/.config/nvim echo "NVIM links... Done." +# Links for Zed +echo "Making links for Zed" +ln -sf $PWD/.config/zed/settings.json ~/.config/zed/settings.json +echo "Zed links... Done." + # Links for fastfetch echo "Making links for fastfetch" @@ -41,6 +46,6 @@ echo "Shell links... Done." # Link for dg-bash echo "Making Links for bash" -ln -sf $PWD/.config/dg-bash ~/.config/dg-bash +ln -sfT $PWD/.config/dg-bash ~/.config/dg-bash ln -sf $PWD/.bashrc ~/.bashrc echo "Bash links... Done."