// 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": {
      // "shift shift": "file_finder::Toggle"
    }
  },
  {
    "context": "Editor",
    "bindings": {
      // "j k": ["workspace::SendKeystrokes", "escape"]
    }
  },
  {
    "context": "Editor && VimControl && !VimWaiting && !menu",
    "bindings": {
      "space f f": "file_finder::Toggle",
      "space o": "tab_switcher::Toggle",
      "space d": "workspace::ToggleLeftDock",
      "space /": "workspace::NewSearch",
      "n": "search::SelectNextMatch",
      "shift-n": "search::SelectPrevMatch",
      "space t": "workspace::NewCenterTerminal",
      "g b": "editor::ToggleComments",
      "space f s": "workspace::Save",
      "space c": "pane::CloseActiveItem"
    }
  }
]