Skip to content

Import VS Code keyboard shortcuts #6544

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

You must be logged in to vote

@davidpmccormick the following bindings would toggle the dock in Zed by pressing ⌘⇧I:

[
  {
    "context": "Workspace || Editor",
    "bindings": {
      "cmd-shift-i": "dock::FocusDock"
    }
  },
  {
    "context": "Pane && docked",
    "bindings": {
      "cmd-shift-i": "dock::HideDock"
    }
  }
]

With that said, the same binding is being used to format the current buffer, so you might want to remap that one after these changes. 🙂

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by davidpmccormick
Comment options

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