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 // custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p) // 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, "vim_mode": false,
"telemetry": { "telemetry": {
"metrics": false, "metrics": false,
"diagnostics": false "diagnostics": false,
}, },
"base_keymap": "VSCode", "base_keymap": "VSCode",
@@ -23,84 +31,130 @@
"buffer_font_family": "FiraCode Nerd Font Mono", "buffer_font_family": "FiraCode Nerd Font Mono",
"buffer_line_height": "standard", "buffer_line_height": "standard",
"buffer_font_features": { "buffer_font_features": {
"calt": true "calt": true,
}, },
"bottom_dock_layout": "left_aligned", "bottom_dock_layout": "left_aligned",
"terminal": { "terminal": {
"shell": {
"with_arguments": {
"program": "/app/bin/host-spawn",
"args": ["zsh"],
},
},
"font_family": "FiraCode Nerd Font Mono", "font_family": "FiraCode Nerd Font Mono",
"font_size": 12, "font_size": 12,
"line_height": "standard", "line_height": "standard",
"toolbar": { "toolbar": {},
"breadcrumbs": false
},
"font_features": { "font_features": {
"calt": true "calt": true,
} },
}, },
"minimap": { "minimap": {
"show": "auto" "show": "auto",
}, },
"tabs": { "tabs": {
"file_icons": true, "file_icons": true,
"git_status": true, "git_status": true,
"show_diagnostics": "all" "show_diagnostics": "all",
},
"sticky_scroll": {
"enabled": true,
}, },
"project_panel": { "project_panel": {
"entry_spacing": "standard" "hide_hidden": true,
"hide_root": true,
"diagnostic_badges": true,
"dock": "left",
"entry_spacing": "standard",
}, },
"agent": { "agent": {
"sidebar_side": "right",
"dock": "right",
"favorite_models": [
{
"provider": "mistral",
"model": "codestral-latest",
"enable_thinking": false,
},
],
"button": true,
"default_profile": "ask", "default_profile": "ask",
"default_model": { "default_model": {
"provider": "zed.dev", "provider": "mistral",
"model": "claude-sonnet-4" "model": "codestral-latest",
} },
}, },
"auto_signature_help": true,
"show_edit_predictions": false, "show_edit_predictions": false,
"collaboration_panel": { "collaboration_panel": {
"button": false "dock": "left",
"button": false,
}, },
"notification_panel": { "git_panel": {
"button": false "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": { "title_bar": {
"show_branch_icon": true "show_branch_status_icon": true,
}, },
"tab_bar": { "tab_bar": {
"show_nav_history_buttons": false "show_nav_history_buttons": false,
}, },
"toolbar": { "toolbar": {
"agent_review": false, "agent_review": false,
"code_actions": true "code_actions": true,
}, },
"diagnostics": { "diagnostics": {
"inline": { "inline": {
"enabled": true, "enabled": true,
"max_severity": "warning" "max_severity": "warning",
} },
}, },
"inlay_hints": { "inlay_hints": {
"enabled": true, "enabled": true,
"show_type_hints": false "show_type_hints": false,
}, },
"indent_guides": { "indent_guides": {
"coloring": "indent_aware" "coloring": "indent_aware",
}, },
"colorize_brackets": true,
"tab_size": 2, "tab_size": 2,
"show_whitespaces": "trailing", "show_whitespaces": "trailing",
"wrap_guides": [110], "wrap_guides": [110],
@@ -110,12 +164,20 @@
"file_types": { "file_types": {
"JSONC": [".oxlintrc.json"], "JSONC": [".oxlintrc.json"],
"HTML": ["**/*.mjml"] "HTML": ["**/*.mjml"],
}, },
"hidden_files": ["**/node_modules"],
"languages": { "languages": {
"Vue.js": {
"show_edit_predictions": true,
},
"TypeScript": {
"show_edit_predictions": true,
},
"YAML": { "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 # Cargo / Rust
. "$HOME/.cargo/env" . "$HOME/.cargo/env"

2
.zshrc
View File

@@ -150,7 +150,7 @@ alias df="duf --hide-fs squashfs,tmpfs,efivarfs,devtmpfs"
# alias cd="zoxide" # alias cd="zoxide"
alias grep="ugrep" alias grep="ugrep"
alias curl="curlie" 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" alias docker-compose="PODMAN_COMPOSE_PROVIDER=/usr/libexec/docker/cli-plugins/docker-compose podman compose"
# Funny work aliases # Funny work aliases
alias rip-yannick="gh pr create -w" alias rip-yannick="gh pr create -w"