2023-03-13 15:27:04 +03:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"bindings": {
|
|
|
|
"cmd-shift-o": "projects::OpenRecent",
|
|
|
|
"cmd-alt-tab": "project_panel::ToggleFocus"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor",
|
|
|
|
"bindings": {
|
|
|
|
"cmd-l": "go_to_line::Toggle",
|
2024-03-28 13:52:08 +03:00
|
|
|
"ctrl-shift-d": "editor::DuplicateLineDown",
|
2023-03-13 15:27:04 +03:00
|
|
|
"cmd-b": "editor::GoToDefinition",
|
|
|
|
"cmd-j": "editor::ScrollCursorCenter",
|
2023-08-23 08:31:01 +03:00
|
|
|
"cmd-enter": "editor::NewlineBelow",
|
|
|
|
"cmd-alt-enter": "editor::NewLineAbove",
|
2023-03-13 15:27:04 +03:00
|
|
|
"cmd-shift-l": "editor::SelectLine",
|
|
|
|
"cmd-shift-t": "outline::Toggle",
|
|
|
|
"alt-backspace": "editor::DeleteToPreviousWordStart",
|
|
|
|
"alt-shift-backspace": "editor::DeleteToNextWordEnd",
|
|
|
|
"alt-delete": "editor::DeleteToNextWordEnd",
|
|
|
|
"alt-shift-delete": "editor::DeleteToNextWordEnd",
|
|
|
|
"ctrl-backspace": "editor::DeleteToPreviousSubwordStart",
|
|
|
|
"ctrl-delete": "editor::DeleteToNextSubwordEnd",
|
|
|
|
"alt-left": [
|
|
|
|
"editor::MoveToPreviousWordStart",
|
|
|
|
{
|
|
|
|
"stop_at_soft_wraps": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"alt-right": [
|
|
|
|
"editor::MoveToNextWordEnd",
|
|
|
|
{
|
|
|
|
"stop_at_soft_wraps": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"ctrl-left": "editor::MoveToPreviousSubwordStart",
|
|
|
|
"ctrl-right": "editor::MoveToNextSubwordEnd",
|
|
|
|
"cmd-shift-left": "editor::SelectToBeginningOfLine",
|
|
|
|
"cmd-shift-right": "editor::SelectToEndOfLine",
|
|
|
|
"alt-shift-left": [
|
2024-05-03 12:29:47 +03:00
|
|
|
"editor::SelectToPreviousWordStart",
|
2023-03-13 15:27:04 +03:00
|
|
|
{
|
|
|
|
"stop_at_soft_wraps": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"alt-shift-right": [
|
2024-05-03 12:29:47 +03:00
|
|
|
"editor::SelectToNextWordEnd",
|
2023-03-13 15:27:04 +03:00
|
|
|
{
|
|
|
|
"stop_at_soft_wraps": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"ctrl-shift-left": "editor::SelectToPreviousSubwordStart",
|
2023-08-23 08:31:01 +03:00
|
|
|
"ctrl-shift-right": "editor::SelectToNextSubwordEnd",
|
|
|
|
"ctrl-w": "editor::SelectNext",
|
|
|
|
"ctrl-u": "editor::ConvertToUpperCase",
|
|
|
|
"ctrl-shift-u": "editor::ConvertToLowerCase",
|
|
|
|
"ctrl-alt-u": "editor::ConvertToUpperCamelCase",
|
|
|
|
"ctrl-_": "editor::ConvertToSnakeCase"
|
2023-03-13 15:27:04 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor && mode == full",
|
2023-08-23 08:31:01 +03:00
|
|
|
"bindings": {}
|
2023-03-13 15:27:04 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "BufferSearchBar",
|
|
|
|
"bindings": {
|
|
|
|
"ctrl-s": "search::SelectNextMatch",
|
|
|
|
"ctrl-shift-s": "search::SelectPrevMatch"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Workspace",
|
|
|
|
"bindings": {
|
2023-05-06 01:04:36 +03:00
|
|
|
"cmd-alt-ctrl-d": "workspace::ToggleLeftDock",
|
2023-03-13 15:27:04 +03:00
|
|
|
"cmd-t": "file_finder::Toggle",
|
|
|
|
"cmd-shift-t": "project_symbols::Toggle"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Pane",
|
|
|
|
"bindings": {
|
|
|
|
"alt-cmd-r": "search::ToggleRegex",
|
|
|
|
"ctrl-tab": "project_panel::ToggleFocus"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "ProjectPanel",
|
|
|
|
"bindings": {}
|
2023-08-23 08:31:01 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Dock",
|
|
|
|
"bindings": {}
|
2023-03-13 15:27:04 +03:00
|
|
|
}
|
|
|
|
]
|