feat(zed): updated config

This commit is contained in:
oxypomme
2026-05-18 08:47:12 +02:00
parent a33e986cde
commit 9dc7c5f053
3 changed files with 97 additions and 29 deletions

View File

@@ -7,11 +7,19 @@
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"disable_ai": true,
"cli_default_open_behavior": "existing_window",
"outline_panel": {
"dock": "left",
},
"edit_predictions": {
"mode": "subtle",
"provider": "codestral",
},
"disable_ai": false,
"vim_mode": false,
"telemetry": {
"metrics": false,
"diagnostics": false
"diagnostics": false,
},
"base_keymap": "VSCode",
@@ -23,84 +31,130 @@
"buffer_font_family": "FiraCode Nerd Font Mono",
"buffer_line_height": "standard",
"buffer_font_features": {
"calt": true
"calt": true,
},
"bottom_dock_layout": "left_aligned",
"terminal": {
"shell": {
"with_arguments": {
"program": "/app/bin/host-spawn",
"args": ["zsh"],
},
},
"font_family": "FiraCode Nerd Font Mono",
"font_size": 12,
"line_height": "standard",
"toolbar": {
"breadcrumbs": false
},
"toolbar": {},
"font_features": {
"calt": true
}
"calt": true,
},
},
"minimap": {
"show": "auto"
"show": "auto",
},
"tabs": {
"file_icons": true,
"git_status": true,
"show_diagnostics": "all"
"show_diagnostics": "all",
},
"sticky_scroll": {
"enabled": true,
},
"project_panel": {
"entry_spacing": "standard"
"hide_hidden": true,
"hide_root": true,
"diagnostic_badges": true,
"dock": "left",
"entry_spacing": "standard",
},
"agent": {
"sidebar_side": "right",
"dock": "right",
"favorite_models": [
{
"provider": "mistral",
"model": "codestral-latest",
"enable_thinking": false,
},
],
"button": true,
"default_profile": "ask",
"default_model": {
"provider": "zed.dev",
"model": "claude-sonnet-4"
}
"provider": "mistral",
"model": "codestral-latest",
},
},
"auto_signature_help": true,
"show_edit_predictions": false,
"collaboration_panel": {
"button": false
"dock": "left",
"button": false,
},
"notification_panel": {
"button": false
"git_panel": {
"dock": "left",
"sort_by_path": false,
"tree_view": true,
},
"git": {
"inline_blame": {
"show_commit_summary": true,
// Wrap Guide + 1
"min_column": 111,
},
},
"git_hosting_providers": [
{
"name": "VX GitLab INIST",
"base_url": "https://vxgitlab.intra.inist.fr",
"provider": "gitlab",
},
{
"name": "VE GitLab INIST",
"base_url": "https://vegitlab.intra.inist.fr",
"provider": "gitlab",
},
],
"title_bar": {
"show_branch_icon": true
"show_branch_status_icon": true,
},
"tab_bar": {
"show_nav_history_buttons": false
"show_nav_history_buttons": false,
},
"toolbar": {
"agent_review": false,
"code_actions": true
"code_actions": true,
},
"diagnostics": {
"inline": {
"enabled": true,
"max_severity": "warning"
}
"max_severity": "warning",
},
},
"inlay_hints": {
"enabled": true,
"show_type_hints": false
"show_type_hints": false,
},
"indent_guides": {
"coloring": "indent_aware"
"coloring": "indent_aware",
},
"colorize_brackets": true,
"tab_size": 2,
"show_whitespaces": "trailing",
"wrap_guides": [110],
@@ -110,12 +164,20 @@
"file_types": {
"JSONC": [".oxlintrc.json"],
"HTML": ["**/*.mjml"]
"HTML": ["**/*.mjml"],
},
"hidden_files": ["**/node_modules"],
"languages": {
"Vue.js": {
"show_edit_predictions": true,
},
"TypeScript": {
"show_edit_predictions": true,
},
"YAML": {
"format_on_save": "off"
}
}
"format_on_save": "off",
},
},
}

View File

@@ -1,3 +1,9 @@
# PNPM
PNPM_BIN=$HOME/.local/share/pnpm/bin
LOCAL_BIN=$HOME/.local/bin
PATH=$PNPM_BIN:$LOCAL_BIN:$PATH
# Cargo / Rust
. "$HOME/.cargo/env"

2
.zshrc
View File

@@ -150,7 +150,7 @@ alias df="duf --hide-fs squashfs,tmpfs,efivarfs,devtmpfs"
# alias cd="zoxide"
alias grep="ugrep"
alias curl="curlie"
# alias code="snap run code"
alias zed="flatpak run dev.zed.Zed"
alias docker-compose="PODMAN_COMPOSE_PROVIDER=/usr/libexec/docker/cli-plugins/docker-compose podman compose"
# Funny work aliases
alias rip-yannick="gh pr create -w"