This commit is contained in:
Sebastian Moser
2026-05-18 18:22:45 +02:00
parent 4a62c235f1
commit 5b895c54dc
31 changed files with 9569 additions and 323 deletions

182
zed/settings.json Normal file
View File

@@ -0,0 +1,182 @@
// 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)
{
"cli_default_open_behavior": "new_window",
"project_panel": {
"dock": "left"
},
"collaboration_panel": {
"dock": "left"
},
"git_panel": {
"dock": "left"
},
"ssh_connections": [
{
"host": "nico",
"args": [],
"projects": [
{
"paths": [
"/root/work/c2vi/a1-vibe"
]
},
{
"paths": [
"/root/work/mize"
]
}
]
},
{
"host": "nico",
"args": [],
"projects": []
},
{
"host": "nico",
"args": [],
"projects": []
}
],
"vim": {
"use_system_clipboard": "never"
},
"ui_font_weight": 250.0,
"agent_ui_font_size": 14.0,
"outline_panel": {
"dock": "left",
"button": true,
},
"file_scan_exclusions": ["/gitignore/**", "**/node_modules/**"],
"tab_size": 2,
"agent": {
"dock": "right",
"default_profile": "minimal",
"default_model": {
"provider": "perplexity",
"model": "sonar",
},
},
"language_models": {
"openai_compatible": {
"perplexity": {
"api_url": "https://api.perplexity.ai",
"available_models": [
{
"name": "sonar",
"display_name": null,
"max_tokens": 200000,
"max_output_tokens": 32000,
"max_completion_tokens": 200000,
"capabilities": {
"tools": false,
"images": false,
"parallel_tool_calls": false,
"prompt_cache_key": false,
},
},
],
},
},
},
"agent_servers": {
"your_agent": {
"type": "custom",
"command": "path_to_executable",
"args": [],
"env": {},
},
},
"vim_mode": true,
"ui_font_size": 16.0,
"buffer_font_size": 19.0,
"theme": {
"mode": "system",
"light": "Gruvbox Dark Hard",
"dark": "One Dark",
},
"toolbar": {
"breadcrumbs": false,
"code_actions": false,
"quick_actions": false,
"agent_review": false,
"selections_menu": false,
},
"title_bar": {
"show_user_menu": false,
"show_branch_name": false,
"show_onboarding_banner": false,
"show_project_items": false,
"show_sign_in": false,
"show_user_picture": false,
"show_menus": false,
},
"languages": {
"Nix": {
"enable_language_server": false,
"language_servers": ["nixd", "!nil"],
},
"C": {
"language_servers": ["clangd"],
},
},
"file_finder": {
"modal_max_width": "large",
},
"preview_tabs": {
"enable_preview_from_file_finder": true,
"enable_keep_preview_on_code_navigation": true,
},
"relative_line_numbers": "enabled",
"remove_trailing_whitespace_on_save": false,
"lsp": {
"clangd": {
"binary": {
"path": "/home/me/work/path-extra/clangd",
"arguments": [],
},
},
// https://github.com/zed-extensions/nix/tree/main?tab=readme-ov-file
"nixd": {
"settings": {
// see https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md
// for what configuration is possible
"formatting": {
//"command": [ "nixpkgs-fmt" ],
//"command": [ "alejandra" ],
"command": ["nixfmt"],
},
"nixpkgs": {
"expr": "import <nixpkgs> { }",
},
"options": {
// If this is omitted, default search path (<nixpkgs>) will be used.
"nixos": {
// This name "nixos" could be arbitrary.
// The expression to eval, interpret it as option declarations.
"expr": "(builtins.getFlake \"/home/me/work/config\").nixosConfigurations._lsp_dummy.options",
},
// for home manager as nixos module we must get the suboptions
// https://discourse.nixos.org/t/nixd-home-manager-completion-and-standalone-home-manager-outputs/55610/2
"home-manager": {
// This name could be arbitrary.
"expr": "(builtins.getFlake \"/home/me/work/config\").nixosConfigurations._lsp_dummy.options.home-manager.users.type.getSubOptions []",
},
// By default there is no home-manager options completion, thus you can add this entry.
//"home-manager": {
// "expr": "(builtins.getFlake \"/home/melektron/goarnix\").homeConfigurations.\"lsp_dummy\".options"
//}
},
},
},
},
}