Map shift-escape in the Jetbrains keymaps (#35230)
Release Notes: - Added support for closing docks (sidebars) with `shift-escape` in the Jetbrains keymaps.
This commit is contained in:
parent
cf13a76618
commit
994d400ab8
2 changed files with 10 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
||||||
"ctrl-alt-s": "zed::OpenSettings",
|
"ctrl-alt-s": "zed::OpenSettings",
|
||||||
"ctrl-{": "pane::ActivatePreviousItem",
|
"ctrl-{": "pane::ActivatePreviousItem",
|
||||||
"ctrl-}": "pane::ActivateNextItem",
|
"ctrl-}": "pane::ActivateNextItem",
|
||||||
|
"shift-escape": null, // Unmap workspace::zoom
|
||||||
"ctrl-f2": "debugger::Stop",
|
"ctrl-f2": "debugger::Stop",
|
||||||
"f6": "debugger::Pause",
|
"f6": "debugger::Pause",
|
||||||
"f7": "debugger::StepInto",
|
"f7": "debugger::StepInto",
|
||||||
|
@ -151,6 +152,9 @@
|
||||||
{ "context": "OutlinePanel", "bindings": { "alt-7": "workspace::CloseActiveDock" } },
|
{ "context": "OutlinePanel", "bindings": { "alt-7": "workspace::CloseActiveDock" } },
|
||||||
{
|
{
|
||||||
"context": "Dock || Workspace || Terminal || OutlinePanel || ProjectPanel || CollabPanel || (Editor && mode == auto_height)",
|
"context": "Dock || Workspace || Terminal || OutlinePanel || ProjectPanel || CollabPanel || (Editor && mode == auto_height)",
|
||||||
"bindings": { "escape": "editor::ToggleFocus" }
|
"bindings": {
|
||||||
|
"escape": "editor::ToggleFocus",
|
||||||
|
"shift-escape": "workspace::CloseActiveDock"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"cmd-{": "pane::ActivatePreviousItem",
|
"cmd-{": "pane::ActivatePreviousItem",
|
||||||
"cmd-}": "pane::ActivateNextItem",
|
"cmd-}": "pane::ActivateNextItem",
|
||||||
"cmd-0": "git_panel::ToggleFocus", // overrides `cmd-0` zoom reset
|
"cmd-0": "git_panel::ToggleFocus", // overrides `cmd-0` zoom reset
|
||||||
|
"shift-escape": null, // Unmap workspace::zoom
|
||||||
"ctrl-f2": "debugger::Stop",
|
"ctrl-f2": "debugger::Stop",
|
||||||
"f6": "debugger::Pause",
|
"f6": "debugger::Pause",
|
||||||
"f7": "debugger::StepInto",
|
"f7": "debugger::StepInto",
|
||||||
|
@ -151,6 +152,9 @@
|
||||||
{ "context": "OutlinePanel", "bindings": { "cmd-7": "workspace::CloseActiveDock" } },
|
{ "context": "OutlinePanel", "bindings": { "cmd-7": "workspace::CloseActiveDock" } },
|
||||||
{
|
{
|
||||||
"context": "Dock || Workspace || Terminal || OutlinePanel || ProjectPanel || CollabPanel || (Editor && mode == auto_height)",
|
"context": "Dock || Workspace || Terminal || OutlinePanel || ProjectPanel || CollabPanel || (Editor && mode == auto_height)",
|
||||||
"bindings": { "escape": "editor::ToggleFocus" }
|
"bindings": {
|
||||||
|
"escape": "editor::ToggleFocus",
|
||||||
|
"shift-escape": "workspace::CloseActiveDock"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue