Add Zed editor settings and symlink configuration
Some checks failed
Ansible Lint Check / check-ansible (push) Has been cancelled
Nix Format Check / check-format (push) Has been cancelled
Python Lint Check / check-python (push) Has been cancelled

This commit is contained in:
Menno van Leeuwen 2025-06-04 12:07:55 +02:00
parent 52cb2e3bc1
commit ef89381337
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
2 changed files with 99 additions and 1 deletions

View File

@ -11,5 +11,12 @@
force: true force: true
follow: false follow: false
loop: loop:
- { src: "$DOTFILES_PATH/vscode/settings.json", dest: "~/.config/Code/User/settings.json" } - {
src: "$DOTFILES_PATH/vscode/settings.json",
dest: "~/.config/Code/User/settings.json",
}
- {
src: "$DOTFILES_PATH/zed/settings.json",
dest: "~/.config/zed/settings.json",
}
- { src: "$DOTFILES_PATH/config/autostart", dest: "~/.config/autostart" } - { src: "$DOTFILES_PATH/config/autostart", dest: "~/.config/autostart" }

91
zed/settings.json Normal file
View File

@ -0,0 +1,91 @@
// 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)
{
// #############################################
// ## Theming ##
// #############################################
"icon_theme": "Catppuccin Frappé",
"ui_font_size": 16,
"buffer_font_size": 16,
"minimap": {
"show": "auto",
"thumb": "hover",
"current_line_highlight": "all"
},
"theme": {
"mode": "system",
"light": "Catppuccin Latte",
"dark": "Catppuccin Frappé"
},
"tabs": {
"close_position": "right",
"file_icons": true,
"git_status": true,
"activate_on_close": "history",
"show_close_button": "hover",
"show_diagnostics": "errors"
},
"toolbar": {
"code_actions": true
},
// #############################################
// ## Preferences ##
// #############################################
"restore_on_startup": "last_session",
"auto_update": true,
"base_keymap": "VSCode",
"cursor_shape": "bar",
"hide_mouse": "on_typing",
"on_last_window_closed": "quit_app",
"ensure_final_newline_on_save": true,
"format_on_save": "prettier",
// Example on language specific options:
// "languages": {
// "Shell Script": {
// "format_on_save": "off"
// }
// },
// #############################################
// ## AI Stuff ##
// #############################################
"agent": {
"model_parameters": [],
"default_model": {
"provider": "copilot_chat",
"model": "claude-3.7-sonnet"
},
"version": "2"
},
"edit_predictions": {
"mode": "subtle",
"enabled_in_text_threads": true,
"disabled_globs": [
"**/.env*",
"**/*.pem",
"**/*.key",
"**/*.cert",
"**/*.crt",
"**/.dev.vars",
"**/secrets/**"
]
},
// #############################################
// ## Extensions ##
// #############################################
"auto_install_extensions": {
"dockerfile": true,
"html": true,
"yaml": true,
"docker-compose": true,
"golang": true
}
}