feat: remap changes + minor adjustments

This commit is contained in:
2025-06-28 23:59:57 +02:00
parent 90942eae3a
commit d0835706d4
3 changed files with 60 additions and 31 deletions

View File

@@ -10,20 +10,31 @@
"ctrl-l": "workspace::ActivatePaneRight", "ctrl-l": "workspace::ActivatePaneRight",
"ctrl-k": "workspace::ActivatePaneUp", "ctrl-k": "workspace::ActivatePaneUp",
"ctrl-j": "workspace::ActivatePaneDown", "ctrl-j": "workspace::ActivatePaneDown",
"cmd-shift-f": "file_finder::Toggle", "ctrl-shift-f": "file_finder::Toggle",
"cmd-r": "task::Spawn", "ctrl-x": "task::Spawn",
"cmd-shift-r": "task::Rerun" "ctrl-shift-x": "task::Rerun",
"ctrl-p": "projects::OpenRecent"
} }
}, },
{ {
"context": "Editor", "context": "Editor",
"bindings": { "bindings": {
// "j k": ["workspace::SendKeystrokes", "escape"] // "j k": ["workspace::SendKeystrokes", "escape"],
"ctrl-h": "workspace::ActivatePaneLeft",
"ctrl-l": "workspace::ActivatePaneRight",
"ctrl-k": "workspace::ActivatePaneUp",
"ctrl-j": "workspace::ActivatePaneDown",
"ctrl-t": "workspace::NewFile", "ctrl-t": "workspace::NewFile",
"ctrl-w": "pane::CloseActiveItem", "ctrl-w": "pane::CloseActiveItem",
"ctrl-W": "pane::CloseAllItems", "ctrl-W": "pane::CloseAllItems",
"ctrl-n": "workspace::ToggleLeftDock",
"ctrl-x": "workspace::ToggleRightDock", "ctrl-n": "project_panel::ToggleFocus",
"ctrl-a": "outline_panel::ToggleFocus",
"ctrl-g": "git_panel::ToggleFocus",
"ctrl-p": "projects::OpenRecent",
"ctrl-x": "task::Spawn",
"ctrl-z": "workspace::ToggleBottomDock", "ctrl-z": "workspace::ToggleBottomDock",
"ctrl-m": "workspace::ToggleCenteredLayout", "ctrl-m": "workspace::ToggleCenteredLayout",
"ctrl-shift-l": "pane::SplitRight", "ctrl-shift-l": "pane::SplitRight",
@@ -46,7 +57,14 @@
"bindings": { "bindings": {
"ctrl-n": "workspace::ToggleLeftDock", "ctrl-n": "workspace::ToggleLeftDock",
"f12": "project_panel::Rename", "f12": "project_panel::Rename",
"shift-enter": "project_panel::OpenWithSystem" "shift-enter": "project_panel::OpenWithSystem",
"/": "project_panel::NewSearchInDirectory"
}
},
{
"context": "GitPanel",
"bindings": {
"ctrl-g": "workspace::ToggleLeftDock"
} }
}, },
{ {
@@ -77,17 +95,17 @@
{ {
"context": "Editor && vim_mode == normal", "context": "Editor && vim_mode == normal",
"bindings": { "bindings": {
"space x": "pane::CloseActiveItem",
"space X": "pane::CloseAllItems",
"space b": "workspace::NewFile",
"space f f": "file_finder::Toggle",
"space space": "file_finder::Toggle",
"shift-tab": "pane::ActivatePreviousItem", "shift-tab": "pane::ActivatePreviousItem",
"tab": "pane::ActivateNextItem", "tab": "pane::ActivateNextItem",
"ctrl-h": "workspace::ActivatePaneLeft",
"ctrl-l": "workspace::ActivatePaneRight", "space a": "outline::Toggle",
"ctrl-k": "workspace::ActivatePaneUp", "space r": "editor::Rename",
"ctrl-j": "workspace::ActivatePaneDown" "space x": "pane::CloseActiveItem",
"space X": "pane::CloseAllItems",
"space g": "git_panel::ToggleFocus",
"space f a": "pane::DeploySearch",
"space f w": "project_symbols::Toggle",
"space space": "file_finder::Toggle"
} }
}, },
{ {

View File

@@ -51,6 +51,7 @@
}, },
"hard_tabs": false, "hard_tabs": false,
"hover_popover_enabled": true, "hover_popover_enabled": true,
"hover_popover_delay": 0,
"indent_guides": { "indent_guides": {
"enabled": true, "enabled": true,
"line_width": 1, "line_width": 1,
@@ -92,7 +93,7 @@
// ╭────────╮ // ╭────────╮
// │ Layout │ // │ Layout │
// ╰────────╯ // ╰────────╯
"assistant": { "agent": {
"enabled": true, "enabled": true,
"button": true, "button": true,
"dock": "right", "dock": "right",
@@ -115,6 +116,27 @@
"chat_panel": { "chat_panel": {
"button": "never" "button": "never"
}, },
"diagnostics": {
"button": true,
"include_warnings": true,
"inline": {
"enabled": true,
"update_debounce_ms": 150,
"padding": 4,
"min_column": 0,
"max_severity": null
},
"cargo": null
},
"title_bar": {
"show_branch_icon": true,
"show_project_items": true,
"show_user_picture": true,
"show_branch_name": true
},
"minimap": {
"show": "never"
},
"modal_max_width": "medium", "modal_max_width": "medium",
"outline_panel": { "outline_panel": {
"button": true, "button": true,
@@ -161,6 +183,7 @@
"whole_word": false, "whole_word": false,
"case_sensitive": false, "case_sensitive": false,
"include_ignored": false, "include_ignored": false,
"button": true,
"regex": true "regex": true
}, },
"tab_bar": { "tab_bar": {

View File

@@ -4,19 +4,7 @@
// ╰───────────────────────────────╯ // ╰───────────────────────────────╯
[ [
{ {
"label": "Example task", "label": "🚀 Build migrate",
"command": "for i in {1..5}; do echo \"Hello $i/5\"; sleep 1; done",
"env": {
"foo": "bar"
},
"use_new_terminal": false,
"allow_concurrent_runs": false,
"reveal": "always",
"hide": "never",
"shell": "system"
},
{
"label": "Build migrate",
"command": "bash ~/.config/zed/tasks/build-migrate.sh", "command": "bash ~/.config/zed/tasks/build-migrate.sh",
"use_new_terminal": false, "use_new_terminal": false,
"allow_concurrent_runs": false, "allow_concurrent_runs": false,
@@ -25,7 +13,7 @@
"shell": "system" "shell": "system"
}, },
{ {
"label": "Commit Stradi", "label": ":octocat: Commit Stradi",
"command": "bash ~/.config/zed/tasks/commit-stradi.sh", "command": "bash ~/.config/zed/tasks/commit-stradi.sh",
"use_new_terminal": false, "use_new_terminal": false,
"allow_concurrent_runs": false, "allow_concurrent_runs": false,