lkjdsalkjdsalkjlkjdsalkj

This commit is contained in:
2025-03-22 22:46:37 +01:00
parent 869e7a4343
commit c8fd5482d6
2 changed files with 28 additions and 21 deletions
+15 -18
View File
@@ -9,15 +9,17 @@
{
"context": "",
"bindings": {
"ctrl-q": null // "zed::Quit"
"ctrl-q": null, // "zed::Quit"
"alt-pageup": "workspace::ActivatePaneLeft",
"alt-pagedown": "workspace::ActivatePaneRight",
}
},
{
"context": "Workspace",
"bindings": {
// "shift shift": "file_finder::Toggle"
// "escape": "project_panel::ToggleFocus"
// "ctrl-j": null,
"ctrl-j": null, // "workspace::ToggleBottomDock"
"ctrl-a": "workspace::ToggleBottomDock"
}
},
{
@@ -29,8 +31,8 @@
// "ctrl-pagedown": "pane::ActivateNextItem" // default
// "ctrl-shift-pageup": "pane::SwapItemLeft", // default
// "ctrl-shift-pagedown": "pane::SwapItemRight" // default
"ctrl-,": "zed::OpenSettings",
"ctrl-;": "zed::OpenKeymap"
"ctrl-,": "zed::OpenSettings"
// "ctrl-;": "zed::OpenKeymap" //doesn't work
}
},
{
@@ -68,7 +70,7 @@
"ctrl-j": "editor::JoinLines",
"ctrl-shift-j": null, // "editor::JoinLines"
"ctrl-l": "editor::Fold",
"ctrl-;": "editor::UnfoldLines", // ctrl-ø
"ctrl-oslash": "editor::UnfoldLines", // ctrl-ø
"f5": "editor::SortLinesCaseSensitive",
@@ -95,25 +97,20 @@
"ctrl-'": ["editor::ToggleComments", { "advance_downwards": false }],
"ctrl-r": "editor::ToggleLineNumbers"
// "alt-pageup": ["workspace::ActivatePaneInDirection", "Left"],
// "alt-pagedown": ["workspace::ActivatePaneInDirection", "Right"]
}
},
// ====================
// search behaviour
// ====================
{
"context": "Editor && mode == full",
"bindings": {
"ctrl-f": ["buffer_search::Deploy", { "replace_enabled": true }]
}
},
{
"context": "BufferSearchBar",
"bindings": {
// "enter": "buffer_search::FocusEditor",
// "ctrl-f": "buffer_search::Dismiss"
"ctrl-f": null
// defaults are with '"replace_enabled": false'
// "ctrl-f": ["buffer_search::Deploy", { "replace_enabled": true }]
// "ctrl-shift-f": ["pane::DeploySearch", { "replace_enabled": true }]
}
},
// ====================
{
"context": "Terminal",
"bindings": {