Selected file

keymap.json

.config/zed/keymap.json

// Zed keymap.
//
// <panel>::Toggle opens and closes a specific panel. <panel>::ToggleFocus only
// moves focus, and workspace::ToggleRightDock cannot tell project from git panel
// since both share the right dock.
//
// No "context" means the binding applies everywhere -- but a default bound in a
// narrower context still wins.
[
  {
    "bindings": {
      "ctrl-shift-b": "project_panel::Toggle",
      "ctrl-shift-g": "git_panel::Toggle",
      "ctrl-shift-a": "agent::Toggle",
      "ctrl-shift-j": "terminal_panel::Toggle",

      "ctrl-shift-d": "editor::ToggleSelectedDiffHunks",
      "ctrl-shift-l": "editor::ToggleGitBlameInline"
    }
  },
  {
    "context": "Pane",
    "bindings": {
      // Close every tab in the active pane, including pinned tabs.
      "ctrl-shift-x": ["pane::CloseAllItems", { "close_pinned": true }]
    }
  }
]