update zed settings & tasks

This commit is contained in:
2026-03-03 09:17:41 +08:00
parent 28e1135dd7
commit f24dad4e49
3 changed files with 167 additions and 80 deletions

View File

@@ -7,17 +7,33 @@
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"ui_font_size": 15.0,
"buffer_font_weight": 400.0,
"drag_and_drop_selection": {
"delay": 0,
"enabled": true,
"diagnostics": {
"inline": {
"enabled": true
}
},
"ui_font_size": 16.0,
"show_edit_predictions": false,
"relative_line_numbers": "disabled",
"edit_predictions": {
"provider": "none"
},
"remove_trailing_whitespace_on_save": false,
"inline_code_actions": true,
"gutter": {
"breakpoints": true,
"line_numbers": true,
},
"drag_and_drop_selection": {
"delay": 100,
},
"buffer_line_height": "comfortable",
"terminal": {
"font_family": ".ZedMono",
"font_size": 15.0,
"detect_venv": "off",
"font_size": 14,
},
"show_wrap_guides": true,
"title_bar": {
"show_sign_in": false,
},
@@ -33,31 +49,25 @@
"debugger": {
"dock": "bottom",
},
"edit_predictions": {
"mode": "subtle",
"copilot": {
"proxy": null,
"proxy_no_verify": null,
},
"enabled_in_text_threads": false,
},
"telemetry": {
"diagnostics": false,
"metrics": false,
},
"base_keymap": "VSCode",
"buffer_font_features": {
"calt": false,
// "NWID": true
},
"buffer_font_family": "Iosevka Terminal Wide",
"buffer_font_size": 14,
"buffer_line_height": "comfortable",
"project_panel": {
"default_width": 280.0,
"scrollbar": {
"show": "never",
}
},
"entry_spacing": "standard",
},
"tab_size": 4,
"format_on_save": "off",
"remove_trailing_whitespace_on_save": false,
"ensure_final_newline_on_save": false,
// "preferred_line_length": 80,
"soft_wrap": "editor_width",
@@ -69,19 +79,7 @@
"collaboration_panel": {
"button": false,
},
"agent": {
"enabled": false,
},
"features": {
// "copilot": false,
"edit_prediction_provider": "none",
},
// "vim_mode": true,
"languages": {
"Haskell": {
"tab_size": 2,
},
},
////// LSP config //////
"lsp": {
"texlab": {
@@ -105,4 +103,23 @@
"file_types": {
"Cython": ["sage"],
},
"languages": {
"LaTeX": {
"show_edit_predictions": false
},
"Haskell": {
"tab_size": 2,
"hard_tabs": false,
},
},
"theme_overrides": {
"One Light": {
"syntax": {
"link_text": {
"font_style": "normal"
}
}
},
},
}

View File

@@ -7,53 +7,123 @@
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"edit_predictions": {
"mode": "subtle",
"copilot": {
"proxy": null,
"proxy_no_verify": null
"show_edit_predictions": false,
"relative_line_numbers": "disabled",
"agent": {
"default_model": {
"provider": "copilot_chat",
"model": "gpt-5-mini"
},
"favorite_models": [],
"model_parameters": []
},
"edit_predictions": {
"mode": "eager",
"provider": "copilot"
},
"remove_trailing_whitespace_on_save": false,
"inline_code_actions": true,
"gutter": {
"breakpoints": true,
"line_numbers": true,
},
"drag_and_drop_selection": {
"delay": 100,
},
"buffer_line_height": "comfortable",
"terminal": {
"font_family": ".ZedMono",
"font_size": 15.0,
"detect_venv": "off",
},
"show_wrap_guides": true,
"title_bar": {
"show_sign_in": false,
},
"git_panel": {
"default_width": 320.0,
},
"outline_panel": {
"default_width": 320.0,
},
"notification_panel": {
"dock": "right",
},
"debugger": {
"dock": "bottom",
},
"telemetry": {
"diagnostics": false,
"metrics": false,
},
"base_keymap": "VSCode",
"ui_font_size": 16,
"buffer_font_features": {
"calt": false,
// "NWID": true
},
"buffer_font_family": "Iosevka Terminal Wide",
"project_panel": {
"default_width": 320.0,
"scrollbar": {
"show": "never",
},
"entry_spacing": "standard",
},
"tab_size": 4,
"format_on_save": "off",
"ensure_final_newline_on_save": false,
// "preferred_line_length": 80,
"soft_wrap": "editor_width",
"git": {
"inline_blame": {
"enabled": false,
},
},
"collaboration_panel": {
"button": false,
},
// "vim_mode": true,
////// LSP config //////
"lsp": {
"texlab": {
"settings": {
"texlab": {
"build": {
"onSave": true,
"forwardSearchAfter": false,
},
},
},
},
"clangd": {
"binary": {
"ignore_system_version": true,
"path": "/opt/homebrew/opt/llvm/bin/clangd",
"arguments": [],
},
},
},
"file_types": {
"Cython": ["sage"],
},
"languages": {
"LaTeX": {
"show_edit_predictions": false
},
"Haskell": {
"tab_size": 2,
"hard_tabs": false,
},
},
"theme_overrides": {
"One Light": {
"syntax": {
"link_text": {
"font_style": "normal"
}
}
},
},
"enabled_in_text_threads": false
},
"telemetry": {
"diagnostics": false,
"metrics": false
},
"base_keymap": "VSCode",
"ui_font_size": 16,
"buffer_font_size": 16,
"theme": {
"mode": "system",
"light": "One Light",
"dark": "One Dark"
},
"buffer_font_family": "CaskaydiaCove Nerd Font",
"toolbar": {
"breadcrumbs": false,
"quick_actions": false
},
"terminal": {
"toolbar": {
"breadcrumbs": false
}
},
"format_on_save": "off",
// "preferred_line_length": 80,
"soft_wrap": "editor_width",
"git": {
"inline_blame": {
"enabled": false
}
},
"collaboration_panel": {
"button": false
},
"assistant": {
"enabled": false,
"version": "2"
},
"features": {
"copilot": false,
"inline_completion_provider": "none"
}
}

View File

@@ -1,9 +1,9 @@
[
{
"label": "forward_search",
"command": "/Applications/Skim.app/Contents/SharedSupport/displayline -g $ZED_ROW $ZED_DIRNAME/$ZED_STEM.pdf",
"command": "/Applications/Skim.app/Contents/SharedSupport/displayline -g $ZED_ROW \"$ZED_DIRNAME/$ZED_STEM.pdf\"",
"allow_concurrent_runs": false,
"reveal": "never",
"hide": "always"
}
]
]