diff --git a/.var/app/dev.zed.Zed/config/zed/settings.json b/.var/app/dev.zed.Zed/config/zed/settings.json index f97b4fe..8c4be6f 100644 --- a/.var/app/dev.zed.Zed/config/zed/settings.json +++ b/.var/app/dev.zed.Zed/config/zed/settings.json @@ -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", + }, + }, } diff --git a/.zshenv b/.zshenv index 7c0a3d9..477b97f 100644 --- a/.zshenv +++ b/.zshenv @@ -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" diff --git a/.zshrc b/.zshrc index a0f375d..a9112d8 100644 --- a/.zshrc +++ b/.zshrc @@ -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"