2023-03-07 20:19:51 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"bindings": {
|
|
|
|
"cmd-shift-[": "pane::ActivatePrevItem",
|
|
|
|
"cmd-shift-]": "pane::ActivateNextItem",
|
2024-07-17 14:07:46 +00:00
|
|
|
"ctrl-pageup": "pane::ActivatePrevItem",
|
2024-11-14 14:50:29 +00:00
|
|
|
"ctrl-pagedown": "pane::ActivateNextItem"
|
2023-03-07 20:19:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor",
|
|
|
|
"bindings": {
|
|
|
|
"ctrl-shift-up": "editor::AddSelectionAbove",
|
|
|
|
"ctrl-shift-down": "editor::AddSelectionBelow",
|
2024-07-24 14:35:53 +00:00
|
|
|
"cmd-ctrl-up": "editor::MoveLineUp",
|
|
|
|
"cmd-ctrl-down": "editor::MoveLineDown",
|
2023-03-07 20:19:51 +00:00
|
|
|
"cmd-shift-space": "editor::SelectAll",
|
|
|
|
"ctrl-shift-m": "editor::SelectLargerSyntaxNode",
|
2023-09-21 00:14:19 +00:00
|
|
|
"cmd-shift-l": "editor::SplitSelectionIntoLines",
|
2023-03-07 20:19:51 +00:00
|
|
|
"cmd-shift-a": "editor::SelectLargerSyntaxNode",
|
2024-06-28 16:03:27 +00:00
|
|
|
"cmd-shift-d": "editor::DuplicateLineDown",
|
2024-11-19 19:33:35 +00:00
|
|
|
"ctrl-cmd-g": "editor::SelectAllMatches", // find_all_under
|
2023-03-07 20:19:51 +00:00
|
|
|
"shift-f12": "editor::FindAllReferences",
|
|
|
|
"alt-cmd-down": "editor::GoToDefinition",
|
2023-07-14 19:41:23 +00:00
|
|
|
"ctrl-alt-cmd-down": "editor::GoToDefinitionSplit",
|
2023-03-07 20:19:51 +00:00
|
|
|
"alt-shift-cmd-down": "editor::FindAllReferences",
|
|
|
|
"ctrl-.": "editor::GoToHunk",
|
|
|
|
"ctrl-,": "editor::GoToPrevHunk",
|
2024-07-08 19:05:29 +00:00
|
|
|
"cmd-k cmd-u": "editor::ConvertToUpperCase",
|
|
|
|
"cmd-k cmd-l": "editor::ConvertToLowerCase",
|
2024-07-11 15:14:25 +00:00
|
|
|
"cmd-shift-j": "editor::JoinLines",
|
2024-07-08 19:05:29 +00:00
|
|
|
"shift-alt-m": "markdown::OpenPreviewToTheSide",
|
2023-03-07 20:19:51 +00:00
|
|
|
"ctrl-backspace": "editor::DeleteToPreviousWordStart",
|
2023-06-30 17:27:48 +00:00
|
|
|
"ctrl-delete": "editor::DeleteToNextWordEnd"
|
2023-03-07 20:19:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor && mode == full",
|
|
|
|
"bindings": {
|
|
|
|
"cmd-r": "outline::Toggle"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Pane",
|
|
|
|
"bindings": {
|
|
|
|
"f4": "search::SelectNextMatch",
|
2024-08-27 19:22:38 +00:00
|
|
|
"shift-f4": "search::SelectPrevMatch",
|
|
|
|
"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": "Workspace",
|
|
|
|
"bindings": {
|
2023-05-05 22:04:36 +00:00
|
|
|
"cmd-k cmd-b": "workspace::ToggleLeftDock",
|
2023-03-07 20:19:51 +00:00
|
|
|
"cmd-t": "file_finder::Toggle",
|
|
|
|
"shift-cmd-r": "project_symbols::Toggle",
|
|
|
|
// Currently busted: https://github.com/zed-industries/feedback/issues/898
|
|
|
|
"ctrl-0": "project_panel::ToggleFocus"
|
|
|
|
}
|
|
|
|
}
|
2023-03-13 12:27:04 +00:00
|
|
|
]
|