Skip to content

How to toggle the file explorer visibility ? #20627

Closed Answered by tito
tito asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, it look like i didn't search enough. It was just on the UI itself and the name for this is not sidebar, pane, or such... but dock.
On linux using Zed 0.162.0, Control+B never worked to close the pane (i was used to this in nvim), the editor cursor actually goes to the end of the file.

Adding this into the keymap.json make it work for me:

  {
    "context": "Workspace",
    "bindings": {
      "ctrl-b": "workspace::ToggleLeftDock"
    }
  },
  {
    "context": "Editor",
    "bindings": {
      "ctrl-b": "workspace::ToggleLeftDock"
    }
  },

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant