mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
c7669317ec
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
105 lines
2.3 KiB
JSON
105 lines
2.3 KiB
JSON
[
|
|
{
|
|
"bindings": {
|
|
"cmd-k cmd-p": "workspace::ActivatePreviousPane",
|
|
"cmd-k cmd-n": "workspace::ActivateNextPane"
|
|
}
|
|
},
|
|
{
|
|
"context": "Editor",
|
|
"bindings": {
|
|
"cmd-b": "editor::GoToDefinition",
|
|
"alt-cmd-b": "editor::GoToDefinitionSplit",
|
|
"cmd-<": "editor::ScrollCursorCenter",
|
|
"cmd-g": [
|
|
"editor::SelectNext",
|
|
{
|
|
"replace_newest": true
|
|
}
|
|
],
|
|
"ctrl-cmd-g": [
|
|
"editor::SelectPrevious",
|
|
{
|
|
"replace_newest": true
|
|
}
|
|
],
|
|
"ctrl-shift-down": "editor::AddSelectionBelow",
|
|
"ctrl-shift-up": "editor::AddSelectionAbove",
|
|
"cmd-shift-backspace": "editor::DeleteToBeginningOfLine"
|
|
}
|
|
},
|
|
{
|
|
"context": "Editor && mode == full",
|
|
"bindings": {
|
|
"cmd-r": "outline::Toggle"
|
|
}
|
|
},
|
|
{
|
|
"context": "BufferSearchBar",
|
|
"bindings": {
|
|
"cmd-f3": "search::SelectNextMatch",
|
|
"cmd-shift-f3": "search::SelectPrevMatch"
|
|
}
|
|
},
|
|
{
|
|
"context": "Workspace",
|
|
"bindings": {
|
|
"cmd-\\": "workspace::ToggleLeftDock",
|
|
"cmd-k cmd-b": "workspace::ToggleLeftDock",
|
|
"cmd-t": "file_finder::Toggle",
|
|
"cmd-shift-r": "project_symbols::Toggle"
|
|
}
|
|
},
|
|
{
|
|
"context": "Pane",
|
|
"bindings": {
|
|
"alt-cmd-/": "search::ToggleRegex",
|
|
"ctrl-0": "project_panel::ToggleFocus",
|
|
"cmd-1": [
|
|
"pane::ActivateItem",
|
|
0
|
|
],
|
|
"cmd-2": [
|
|
"pane::ActivateItem",
|
|
1
|
|
],
|
|
"cmd-3": [
|
|
"pane::ActivateItem",
|
|
2
|
|
],
|
|
"cmd-4": [
|
|
"pane::ActivateItem",
|
|
3
|
|
],
|
|
"cmd-5": [
|
|
"pane::ActivateItem",
|
|
4
|
|
],
|
|
"cmd-6": [
|
|
"pane::ActivateItem",
|
|
5
|
|
],
|
|
"cmd-7": [
|
|
"pane::ActivateItem",
|
|
6
|
|
],
|
|
"cmd-8": [
|
|
"pane::ActivateItem",
|
|
7
|
|
],
|
|
"cmd-9": "pane::ActivateLastItem"
|
|
}
|
|
},
|
|
{
|
|
"context": "ProjectPanel",
|
|
"bindings": {
|
|
"ctrl-[": "project_panel::CollapseSelectedEntry",
|
|
"ctrl-b": "project_panel::CollapseSelectedEntry",
|
|
"alt-b": "project_panel::CollapseSelectedEntry",
|
|
"ctrl-]": "project_panel::ExpandSelectedEntry",
|
|
"ctrl-f": "project_panel::ExpandSelectedEntry",
|
|
"ctrl-shift-c": "project_panel::CopyPath"
|
|
}
|
|
}
|
|
]
|