Initial commit for zed try out settings.

This commit is contained in:
2026-06-22 11:00:07 +02:00
parent 0b2309fa0f
commit a5401e517b
2 changed files with 286 additions and 0 deletions
+137
View File
@@ -0,0 +1,137 @@
[
// ─── UNBINDS ────────────────────────────────────────────────────────────────
{
"context": "Editor && vim_mode == insert",
"bindings": { "ctrl-l": null, "ctrl-h": null }
},
{
"context": "FileFinder || FileFinder > Picker > Editor || FileFinder > Picker > menu",
"bindings": { "ctrl-l": null, "ctrl-h": null }
},
{
"context": "BufferSearchBar",
"bindings": { "ctrl-l": null, "ctrl-h": null }
},
{
"context": "vim_mode == literal",
"bindings": { "ctrl-l": null }
},
{
"context": "VimControl && !menu",
"bindings": { "ctrl-b": null, "ctrl-o": null }
},
{
"context": "Workspace",
"bindings": { "ctrl-b": null}
},
{
"unbind": { "ctrl-o": "workspace::OpenFiles" }
},
// ─── PANE NAVIGATION ────────────────────────────────────────────────────────
{
"context": "Editor && vim_mode == normal",
"bindings": {
"ctrl-h": "pane::ActivatePreviousItem",
"ctrl-l": "pane::ActivateNextItem"
}
},
// ─── EDITOR ─────────────────────────────────────────────────────────────────
{
"context": "Editor",
"bindings": {
"ctrl-e": "project_panel::Toggle",
"ctrl-f": "pane::DeploySearch",
"ctrl-o": "terminal_panel::Toggle",
"ctrl-m": "tab_switcher::ToggleAll"
}
},
// ─── BUFFER SEARCH BAR ──────────────────────────────────────────────────────
{
"context": "BufferSearchBar",
"bindings": {
"ctrl-r": "search::ToggleReplace"
}
},
// ─── PROJECT SEARCH BAR ─────────────────────────────────────────────────────
{
"context": "ProjectSearchBar",
"bindings": {
"ctrl-r": "search::ToggleReplace"
}
},
// ─── PROJECT SEARCH RESULTS ──────────────────────────────────────────────────
{
"context": "VimControl && !menu",
"bindings": {
"enter": "editor::OpenExcerpts"
}
},
// ─── PROJECT PANEL (FILE TREE) ───────────────────────────────────────────────
{
"context": "ProjectPanel && not_editing",
"bindings": {
"ctrl-e": "project_panel::Toggle",
"a": "project_panel::NewFile",
"d": "project_panel::Delete",
"r": "project_panel::Rename"
}
},
// ─── TERMINAL ───────────────────────────────────────────────────────────────
{
"context": "Terminal",
"bindings": {
"ctrl-o": "terminal_panel::Toggle",
"ctrl-h": "pane::ActivatePreviousItem",
"ctrl-l": "pane::ActivateNextItem",
"ctrl-q": "pane::CloseActiveItem",
"ctrl-j": "terminal::Clear"
}
},
// ─── WORKSPACE ──────────────────────────────────────────────────────────────
{
"context": "Workspace",
"bindings": {
"ctrl-o": "terminal_panel::Toggle",
"ctrl-p": "file_finder::Toggle"
}
},
// ─── CTRL-W CLOSE → CTRL-W Q ────────────────────────────────────────────────
{
"context": "Pane",
"bindings": { "ctrl-w": null }
},
{
"context": "Workspace",
"bindings": { "ctrl-w": null }
},
{
"context": "SettingsWindow",
"bindings": { "ctrl-w": null }
},
{
"context": "Pane",
"bindings": { "ctrl-w q": "pane::CloseActiveItem" }
},
{
"context": "SettingsWindow",
"bindings": { "ctrl-w q": "workspace::CloseWindow" }
},
{
"context": "Workspace",
"unbind": {
"ctrl-`": "terminal_panel::Toggle"
}
},
{
"context": "Workspace",
"bindings": {
"ctrl-`": "projects::OpenRecent"
}
},
{
"context": "Workspace",
"unbind": {
"ctrl-r": "projects::OpenRecent"
}
}
]