sublime_text.json

  1[
  2  {
  3    "bindings": {
  4      "ctrl-{": "pane::ActivatePreviousItem",
  5      "ctrl-}": "pane::ActivateNextItem",
  6      "ctrl-pageup": "pane::ActivatePreviousItem",
  7      "ctrl-pagedown": "pane::ActivateNextItem",
  8      "ctrl-1": [
  9        "workspace::ActivatePane",
 10        0
 11      ],
 12      "ctrl-2": [
 13        "workspace::ActivatePane",
 14        1
 15      ],
 16      "ctrl-3": [
 17        "workspace::ActivatePane",
 18        2
 19      ],
 20      "ctrl-4": [
 21        "workspace::ActivatePane",
 22        3
 23      ],
 24      "ctrl-5": [
 25        "workspace::ActivatePane",
 26        4
 27      ],
 28      "ctrl-6": [
 29        "workspace::ActivatePane",
 30        5
 31      ],
 32      "ctrl-7": [
 33        "workspace::ActivatePane",
 34        6
 35      ],
 36      "ctrl-8": [
 37        "workspace::ActivatePane",
 38        7
 39      ],
 40      "ctrl-9": [
 41        "workspace::ActivatePane",
 42        8
 43      ],
 44      "ctrl-!": [
 45        "workspace::MoveItemToPane",
 46        {
 47          "destination": 0,
 48          "focus": true
 49        }
 50      ],
 51      "ctrl-@": [
 52        "workspace::MoveItemToPane",
 53        {
 54          "destination": 1
 55        }
 56      ],
 57      "ctrl-#": [
 58        "workspace::MoveItemToPane",
 59        {
 60          "destination": 2
 61        }
 62      ],
 63      "ctrl-$": [
 64        "workspace::MoveItemToPane",
 65        {
 66          "destination": 3
 67        }
 68      ],
 69      "ctrl-%": [
 70        "workspace::MoveItemToPane",
 71        {
 72          "destination": 4
 73        }
 74      ],
 75      "ctrl-^": [
 76        "workspace::MoveItemToPane",
 77        {
 78          "destination": 5
 79        }
 80      ],
 81      "ctrl-&": [
 82        "workspace::MoveItemToPane",
 83        {
 84          "destination": 6
 85        }
 86      ],
 87      "ctrl-*": [
 88        "workspace::MoveItemToPane",
 89        {
 90          "destination": 7
 91        }
 92      ],
 93      "ctrl-(": [
 94        "workspace::MoveItemToPane",
 95        {
 96          "destination": 8
 97        }
 98      ]
 99    }
100  },
101  {
102    "context": "Editor",
103    "bindings": {
104      "ctrl-alt-up": "editor::AddSelectionAbove",
105      "ctrl-alt-down": "editor::AddSelectionBelow",
106      "ctrl-shift-up": "editor::MoveLineUp",
107      "ctrl-shift-down": "editor::MoveLineDown",
108      "ctrl-shift-m": "editor::SelectLargerSyntaxNode",
109      "ctrl-shift-l": "editor::SplitSelectionIntoLines",
110      "ctrl-shift-a": "editor::SelectLargerSyntaxNode",
111      "ctrl-shift-d": "editor::DuplicateSelection",
112      "alt-f3": "editor::SelectAllMatches", // find_all_under
113      "f9": "editor::SortLinesCaseSensitive",
114      "ctrl-f9": "editor::SortLinesCaseInsensitive",
115      "f12": "editor::GoToDefinition",
116      "ctrl-f12": "editor::GoToDefinitionSplit",
117      "shift-f12": "editor::FindAllReferences",
118      "ctrl-shift-f12": "editor::FindAllReferences",
119      "ctrl-.": "editor::GoToHunk",
120      "ctrl-,": "editor::GoToPreviousHunk",
121      "ctrl-k ctrl-u": "editor::ConvertToUpperCase",
122      "ctrl-k ctrl-l": "editor::ConvertToLowerCase",
123      "shift-alt-m": "markdown::OpenPreviewToTheSide",
124      "ctrl-backspace": "editor::DeleteToPreviousWordStart",
125      "ctrl-delete": "editor::DeleteToNextWordEnd"
126    }
127  },
128  {
129    "context": "Editor && mode == full",
130    "bindings": {
131      "ctrl-r": "outline::Toggle"
132    }
133  },
134  {
135    "context": "Pane",
136    "bindings": {
137      "f4": "search::SelectNextMatch",
138      "shift-f4": "search::SelectPreviousMatch",
139      "alt-1": [
140        "pane::ActivateItem",
141        0
142      ],
143      "alt-2": [
144        "pane::ActivateItem",
145        1
146      ],
147      "alt-3": [
148        "pane::ActivateItem",
149        2
150      ],
151      "alt-4": [
152        "pane::ActivateItem",
153        3
154      ],
155      "alt-5": [
156        "pane::ActivateItem",
157        4
158      ],
159      "alt-6": [
160        "pane::ActivateItem",
161        5
162      ],
163      "alt-7": [
164        "pane::ActivateItem",
165        6
166      ],
167      "alt-8": [
168        "pane::ActivateItem",
169        7
170      ],
171      "alt-9": "pane::ActivateLastItem"
172    }
173  },
174  {
175    "context": "Workspace",
176    "bindings": {
177      "ctrl-k ctrl-b": "workspace::ToggleLeftDock",
178      // "ctrl-0": "project_panel::ToggleFocus", // normally resets zoom
179      "shift-ctrl-r": "project_symbols::Toggle"
180    }
181  }
182]