first commit
This commit is contained in:
26
zed/keymap.json
Normal file
26
zed/keymap.json
Normal file
@@ -0,0 +1,26 @@
|
||||
// Zed keymap
|
||||
//
|
||||
// For information on binding keys, see the Zed
|
||||
// documentation: https://zed.dev/docs/key-bindings
|
||||
//
|
||||
// To see the default key bindings run `zed: open default keymap`
|
||||
// from the command palette.
|
||||
[
|
||||
{
|
||||
"context": "Workspace",
|
||||
"bindings": {
|
||||
},
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == insert",
|
||||
"bindings": {
|
||||
// "j k": "vim::NormalBefore"
|
||||
},
|
||||
},
|
||||
{
|
||||
"context": "Editor",
|
||||
"bindings": {
|
||||
"alt-delete": "editor::DeleteLine"
|
||||
}
|
||||
}
|
||||
]
|
||||
82
zed/settings.json
Normal file
82
zed/settings.json
Normal file
@@ -0,0 +1,82 @@
|
||||
// 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)
|
||||
{
|
||||
"agent": {
|
||||
"default_model": {
|
||||
"provider": "google",
|
||||
"model": "gemini-2.5-pro",
|
||||
},
|
||||
"favorite_models": [],
|
||||
"model_parameters": [],
|
||||
},
|
||||
"autosave": {
|
||||
"after_delay": {
|
||||
"milliseconds": 500,
|
||||
},
|
||||
},
|
||||
"use_system_path_prompts": false,
|
||||
"use_system_prompts": false,
|
||||
"proxy": "http://127.0.0.1:12334",
|
||||
"ssh_connections": [
|
||||
{
|
||||
"host": "192.168.88.253",
|
||||
"username": "hdvt",
|
||||
"port": 8841,
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/home/hdvt/IdeaProjects/tdm-crm/./"],
|
||||
},
|
||||
{
|
||||
"paths": ["/home/hdvt/zed/docker/fluxer/./"],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"icon_theme": "Zed (Default)",
|
||||
"base_keymap": "JetBrains",
|
||||
"ui_font_size": 16,
|
||||
"buffer_font_size": 15,
|
||||
"theme": {
|
||||
"mode": "dark",
|
||||
"light": "One Light",
|
||||
"dark": "GitHub Dark Tritanopia",
|
||||
},
|
||||
"lsp": {
|
||||
"discord_presence": {
|
||||
"initialization_options": {
|
||||
"application_id": "1263505205522337886",
|
||||
"base_icons_url": "https://raw.githubusercontent.com/xhyrom/zed-discord-presence/main/assets/icons/",
|
||||
"state": "{workspace}",
|
||||
"details": "",
|
||||
// URL for the large image
|
||||
"small_image": "{base_icons_url}/{language:lo}.png", // :lo lowercase the language name
|
||||
"large_text": "{language:u}", // :u capitalizes the first letter
|
||||
// URL for the small image
|
||||
"large_image": "{base_icons_url}/zed.png",
|
||||
"small_text": "Zed",
|
||||
|
||||
// Idle settings - when you're inactive
|
||||
"idle": {
|
||||
"timeout": 43234, // Idle timeout in seconds (300 seconds = 5 minutes)
|
||||
},
|
||||
|
||||
"rules": {
|
||||
"mode": "blacklist", // Can also be "whitelist"
|
||||
"paths": ["absolute path"],
|
||||
},
|
||||
|
||||
"git_integration": true,
|
||||
|
||||
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
61
zed/tasks.json
Normal file
61
zed/tasks.json
Normal file
@@ -0,0 +1,61 @@
|
||||
// Project tasks configuration. See https://zed.dev/docs/tasks for documentation.
|
||||
//
|
||||
// Example:
|
||||
[
|
||||
{
|
||||
"label": "Run C",
|
||||
"command": "gcc $ZED_FILE -o $ZED_STEM && ./$ZED_STEM",
|
||||
"use_new_terminal": true,
|
||||
"allow_concurrent_runs": false,
|
||||
},
|
||||
|
||||
{
|
||||
"label": "Example task",
|
||||
"command": "for i in {1..5}; do echo \"Hello $i/5\"; sleep 1; done",
|
||||
//"args": [],
|
||||
// Env overrides for the command, will be appended to the terminal's environment from the settings.
|
||||
"env": { "foo": "bar" },
|
||||
// Current working directory to spawn the command into, defaults to current project root.
|
||||
//"cwd": "/path/to/working/directory",
|
||||
// Whether to use a new terminal tab or reuse the existing one to spawn the process, defaults to `false`.
|
||||
"use_new_terminal": false,
|
||||
// Whether to allow multiple instances of the same task to be run, or rather wait for the existing ones to finish, defaults to `false`.
|
||||
"allow_concurrent_runs": false,
|
||||
// What to do with the terminal pane and tab, after the command was started:
|
||||
// * `always` — always show the task's pane, and focus the corresponding tab in it (default)
|
||||
// * `no_focus` — always show the task's pane, add the task's tab in it, but don't focus it
|
||||
// * `never` — do not alter focus, but still add/reuse the task's tab in its pane
|
||||
"reveal": "always",
|
||||
// Where to place the task's terminal item after starting the task:
|
||||
// * `dock` — in the terminal dock, "regular" terminal items' place (default)
|
||||
// * `center` — in the central pane group, "main" editor area
|
||||
"reveal_target": "dock",
|
||||
// What to do with the terminal pane and tab, after the command had finished:
|
||||
// * `never` — Do nothing when the command finishes (default)
|
||||
// * `always` — always hide the terminal tab, hide the pane also if it was the last tab in it
|
||||
// * `on_success` — hide the terminal tab on task success only, otherwise behaves similar to `always`
|
||||
"hide": "never",
|
||||
// Which shell to use when running a task inside the terminal.
|
||||
// May take 3 values:
|
||||
// 1. (default) Use the system's default terminal configuration in /etc/passwd
|
||||
// "shell": "system"
|
||||
// 2. A program:
|
||||
// "shell": {
|
||||
// "program": "sh"
|
||||
// }
|
||||
// 3. A program with arguments:
|
||||
// "shell": {
|
||||
// "with_arguments": {
|
||||
// "program": "/bin/bash",
|
||||
// "args": ["--login"]
|
||||
// }
|
||||
// }
|
||||
"shell": "system",
|
||||
// Whether to show the task line in the output of the spawned task, defaults to `true`.
|
||||
"show_summary": true,
|
||||
// Whether to show the command line in the output of the spawned task, defaults to `true`.
|
||||
"show_command": true,
|
||||
// Represents the tags for inline runnable indicators, or spawning multiple tasks at once.
|
||||
// "tags": []
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user