2023-03-07 20:19:51 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"bindings": {
|
|
|
|
"cmd-k cmd-p": "workspace::ActivatePreviousPane",
|
|
|
|
"cmd-k cmd-n": "workspace::ActivateNextPane"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor",
|
|
|
|
"bindings": {
|
|
|
|
"cmd-b": "editor::GoToDefinition",
|
2023-07-14 19:41:23 +00:00
|
|
|
"alt-cmd-b": "editor::GoToDefinitionSplit",
|
2023-03-07 20:19:51 +00:00
|
|
|
"cmd-<": "editor::ScrollCursorCenter",
|
|
|
|
"cmd-g": [
|
|
|
|
"editor::SelectNext",
|
|
|
|
{
|
|
|
|
"replace_newest": true
|
|
|
|
}
|
|
|
|
],
|
2023-06-02 15:32:34 +00:00
|
|
|
"ctrl-cmd-g": [
|
|
|
|
"editor::SelectPrevious",
|
|
|
|
{
|
|
|
|
"replace_newest": true
|
|
|
|
}
|
|
|
|
],
|
2023-03-07 20:19:51 +00:00
|
|
|
"ctrl-shift-down": "editor::AddSelectionBelow",
|
|
|
|
"ctrl-shift-up": "editor::AddSelectionAbove",
|
2023-06-30 17:27:48 +00:00
|
|
|
"cmd-shift-backspace": "editor::DeleteToBeginningOfLine"
|
2023-03-07 20:19:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor && mode == full",
|
|
|
|
"bindings": {
|
|
|
|
"cmd-r": "outline::Toggle"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "BufferSearchBar",
|
|
|
|
"bindings": {
|
|
|
|
"cmd-f3": "search::SelectNextMatch",
|
|
|
|
"cmd-shift-f3": "search::SelectPrevMatch"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Workspace",
|
|
|
|
"bindings": {
|
2023-05-05 22:04:36 +00:00
|
|
|
"cmd-\\": "workspace::ToggleLeftDock",
|
|
|
|
"cmd-k cmd-b": "workspace::ToggleLeftDock",
|
2023-03-07 20:19:51 +00:00
|
|
|
"cmd-t": "file_finder::Toggle",
|
|
|
|
"cmd-shift-r": "project_symbols::Toggle"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Pane",
|
|
|
|
"bindings": {
|
|
|
|
"alt-cmd-/": "search::ToggleRegex",
|
2023-06-18 06:05:25 +00:00
|
|
|
"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"
|
2023-03-07 20:19:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "ProjectPanel",
|
|
|
|
"bindings": {
|
|
|
|
"ctrl-[": "project_panel::CollapseSelectedEntry",
|
|
|
|
"ctrl-b": "project_panel::CollapseSelectedEntry",
|
2023-03-16 19:59:14 +00:00
|
|
|
"alt-b": "project_panel::CollapseSelectedEntry",
|
2023-03-07 20:19:51 +00:00
|
|
|
"ctrl-]": "project_panel::ExpandSelectedEntry",
|
|
|
|
"ctrl-f": "project_panel::ExpandSelectedEntry",
|
|
|
|
"ctrl-shift-c": "project_panel::CopyPath"
|
|
|
|
}
|
|
|
|
}
|
2023-03-13 12:27:04 +00:00
|
|
|
]
|