mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
[
|
|
{
|
|
"bindings": {
|
|
"cmd-shift-[": "pane::ActivatePrevItem",
|
|
"cmd-shift-]": "pane::ActivateNextItem",
|
|
"ctrl-pagedown": "pane::ActivatePrevItem",
|
|
"ctrl-pageup": "pane::ActivateNextItem",
|
|
"ctrl-shift-tab": "pane::ActivateNextItem",
|
|
"ctrl-tab": "pane::ActivatePrevItem",
|
|
"cmd-+": "zed::IncreaseBufferFontSize"
|
|
}
|
|
},
|
|
{
|
|
"context": "Editor",
|
|
"bindings": {
|
|
"ctrl-shift-up": "editor::AddSelectionAbove",
|
|
"ctrl-shift-down": "editor::AddSelectionBelow",
|
|
"cmd-shift-space": "editor::SelectAll",
|
|
"ctrl-shift-m": "editor::SelectLargerSyntaxNode",
|
|
"cmd-shift-a": "editor::SelectLargerSyntaxNode",
|
|
"shift-f12": "editor::FindAllReferences",
|
|
"alt-cmd-down": "editor::GoToDefinition",
|
|
"alt-shift-cmd-down": "editor::FindAllReferences",
|
|
"ctrl-.": "editor::GoToHunk",
|
|
"ctrl-,": "editor::GoToPrevHunk",
|
|
"ctrl-backspace": "editor::DeleteToPreviousWordStart",
|
|
"ctrl-delete": "editor::DeleteToNextWordEnd"
|
|
}
|
|
},
|
|
{
|
|
"context": "Editor && mode == full",
|
|
"bindings": {
|
|
"cmd-r": "outline::Toggle"
|
|
}
|
|
},
|
|
{
|
|
"context": "Pane",
|
|
"bindings": {
|
|
"f4": "search::SelectNextMatch",
|
|
"shift-f4": "search::SelectPrevMatch"
|
|
}
|
|
},
|
|
{
|
|
"context": "Workspace",
|
|
"bindings": {
|
|
"ctrl-`": "dock::FocusDock",
|
|
"cmd-k cmd-b": "workspace::ToggleLeftSidebar",
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"context": "Dock",
|
|
"bindings": {
|
|
"ctrl-`": "dock::HideDock"
|
|
}
|
|
}
|
|
]
|