2023-03-07 20:19:51 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"bindings": {
|
2024-07-08 19:05:29 +00:00
|
|
|
"ctrl-shift-[": "pane::ActivatePrevItem",
|
|
|
|
"ctrl-shift-]": "pane::ActivateNextItem",
|
2024-07-17 14:07:46 +00:00
|
|
|
"ctrl-pageup": "pane::ActivatePrevItem",
|
|
|
|
"ctrl-pagedown": "pane::ActivateNextItem",
|
|
|
|
"ctrl-tab": "pane::ActivateNextItem",
|
|
|
|
"ctrl-shift-tab": "pane::ActivatePrevItem"
|
2023-03-07 20:19:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor",
|
|
|
|
"bindings": {
|
2024-07-24 14:35:53 +00:00
|
|
|
"ctrl-shift-up": "editor::MoveLineUp",
|
|
|
|
"ctrl-shift-down": "editor::MoveLineDown",
|
2023-03-07 20:19:51 +00:00
|
|
|
"ctrl-shift-m": "editor::SelectLargerSyntaxNode",
|
2024-07-08 19:05:29 +00:00
|
|
|
"ctrl-shift-l": "editor::SplitSelectionIntoLines",
|
|
|
|
"ctrl-shift-a": "editor::SelectLargerSyntaxNode",
|
|
|
|
"ctrl-shift-d": "editor::DuplicateLineDown",
|
|
|
|
"f12": "editor::GoToDefinition",
|
|
|
|
"ctrl-f12": "editor::GoToDefinitionSplit",
|
2023-03-07 20:19:51 +00:00
|
|
|
"shift-f12": "editor::FindAllReferences",
|
2024-07-08 19:05:29 +00:00
|
|
|
"ctrl-shift-f12": "editor::FindAllReferences",
|
2023-03-07 20:19:51 +00:00
|
|
|
"ctrl-.": "editor::GoToHunk",
|
|
|
|
"ctrl-,": "editor::GoToPrevHunk",
|
2024-07-11 15:15:49 +00:00
|
|
|
"ctrl-k ctrl-u": "editor::ConvertToUpperCase",
|
|
|
|
"ctrl-k ctrl-l": "editor::ConvertToLowerCase",
|
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": {
|
2024-07-08 19:05:29 +00:00
|
|
|
"ctrl-r": "outline::Toggle"
|
2023-03-07 20:19:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Pane",
|
|
|
|
"bindings": {
|
|
|
|
"f4": "search::SelectNextMatch",
|
|
|
|
"shift-f4": "search::SelectPrevMatch"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Workspace",
|
|
|
|
"bindings": {
|
2024-07-08 19:05:29 +00:00
|
|
|
"ctrl-k ctrl-b": "workspace::ToggleLeftDock",
|
|
|
|
// "ctrl-0": "project_panel::ToggleFocus", // normally resets zoom
|
|
|
|
"shift-ctrl-r": "project_symbols::Toggle"
|
2023-03-07 20:19:51 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-13 12:27:04 +00:00
|
|
|
]
|