1{
2  "jupyter.lab.setting-icon-class": "jp-LauncherIcon",
3  "jupyter.lab.setting-icon-label": "Keyboard Shortcuts",
4  "title": "Keyboard Shortcuts",
5  "description": "Keyboard shortcut settings for JupyterLab.",
6  "properties": {
7    "application:activate-next-tab": {
8      "default": { },
9      "properties": {
10        "command": { "default": "application:activate-next-tab" },
11        "keys": { "default": ["Ctrl Shift ]"] },
12        "selector": { "default": "body" }
13      },
14      "type": "object"
15    },
16    "application:activate-previous-tab": {
17      "default": { },
18      "properties": {
19        "command": { "default": "application:activate-previous-tab" },
20        "keys": { "default": ["Ctrl Shift ["] },
21        "selector": { "default": "body" }
22      },
23      "type": "object"
24    },
25    "application:toggle-mode": {
26      "default": { },
27      "properties": {
28        "command": { "default": "application:toggle-mode" },
29        "keys": { "default": ["Accel Shift Enter"] },
30        "selector": { "default": "body" }
31      },
32      "type": "object"
33    },
34    "command-palette:toggle": {
35      "default": { },
36      "properties": {
37        "command": { "default": "apputils:toggle-command-palette" },
38        "keys": { "default": ["Accel Shift C"] },
39        "selector": { "default": "body" }
40      },
41      "type": "object"
42    },
43    "completer:invoke-console": {
44      "default": { },
45      "properties": {
46        "command": { "default": "completer:invoke-console" },
47        "keys": { "default": ["Tab"] },
48        "selector": { "default": ".jp-CodeConsole-promptCell .jp-mod-completer-enabled" }
49      },
50      "type": "object"
51    },
52    "completer:invoke-notebook": {
53      "default": { },
54      "properties": {
55        "command": { "default": "completer:invoke-notebook" },
56        "keys": { "default": ["Tab"] },
57        "selector": { "default": ".jp-Notebook.jp-mod-editMode .jp-mod-completer-enabled" }
58      },
59      "type": "object"
60    },
61    "console:linebreak": {
62      "default": { },
63      "properties": {
64        "command": { "default": "console:linebreak" },
65        "keys": { "default": ["Ctrl Enter"] },
66        "selector": { "default": ".jp-CodeConsole-promptCell" }
67      },
68      "type": "object"
69    },
70    "console:run": {
71      "default": { },
72      "properties": {
73        "command": { "default": "console:run" },
74        "keys": { "default": ["Enter"] },
75        "selector": { "default": ".jp-CodeConsole-promptCell" }
76      },
77      "type": "object"
78    },
79    "console:run-forced": {
80      "default": { },
81      "properties": {
82        "command": { "default": "console:run-forced" },
83        "keys": { "default": ["Shift Enter"] },
84        "selector": { "default": ".jp-CodeConsole-promptCell" }
85      },
86      "type": "object"
87    },
88    "docmanager:close": {
89      "default": { },
90      "properties": {
91        "command": { "default": "docmanager:close" },
92        "keys": { "default": ["Ctrl Q"] },
93        "selector": { "default": ".jp-Activity" }
94      },
95      "type": "object"
96    },
97    "docmanager:create-launcher": {
98      "default": { },
99      "properties": {
100        "command": { "default": "docmanager:create-launcher" },
101        "keys": { "default": ["Accel Shift L"] },
102        "selector": { "default": "body" }
103      },
104      "type": "object"
105    },
106    "docmanager:save": {
107      "default": { },
108      "properties": {
109        "command": { "default": "docmanager:save" },
110        "keys": { "default": ["Accel S"] },
111        "selector": { "default": "body" }
112      },
113      "type": "object"
114    },
115    "filebrowser:toggle-main": {
116      "default": { },
117      "properties": {
118        "command": { "default": "filebrowser:toggle-main" },
119        "keys": { "default": ["Accel Shift F"] },
120        "selector": { "default": "body" }
121      },
122      "type": "object"
123    },
124    "fileeditor:run-code": {
125      "default": { },
126      "properties": {
127        "command": { "default": "fileeditor:run-code" },
128        "keys": { "default": ["Shift Enter"] },
129        "selector": { "default": ".jp-FileEditor" }
130      },
131      "type": "object"
132    },
133    "help:toggle": {
134      "default": { },
135      "properties": {
136        "command": { "default": "help:toggle" },
137        "keys": { "default": ["Ctrl Shift H"] },
138        "selector": { "default": "body" }
139      },
140      "type": "object"
141    },
142    "imageviewer:reset-zoom": {
143      "default": { },
144      "properties": {
145        "command": { "default": "imageviewer:reset-zoom" },
146        "keys": { "default": ["0"] },
147        "selector": { "default": ".jp-ImageViewer" }
148      },
149      "type": "object"
150    },
151    "imageviewer:zoom-in": {
152      "default": { },
153      "properties": {
154        "command": { "default": "imageviewer:zoom-in" },
155        "keys": { "default": ["="] },
156        "selector": { "default": ".jp-ImageViewer" }
157      },
158      "type": "object"
159    },
160    "imageviewer:zoom-out": {
161      "default": { },
162      "properties": {
163        "command": { "default": "imageviewer:zoom-out" },
164        "keys": { "default": ["-"] },
165        "selector": { "default": ".jp-ImageViewer" }
166      },
167      "type": "object"
168    },
169    "inspector:open": {
170      "default": { },
171      "properties": {
172        "command": { "default": "inspector:open" },
173        "keys": { "default": ["Accel I"] },
174        "selector": { "default": "body" }
175      },
176      "type": "object"
177    },
178    "notebook:change-cell-to-code": {
179      "default": { },
180      "properties": {
181        "command": { "default": "notebook:change-cell-to-code" },
182        "keys": { "default": ["Y"] },
183        "selector": { "default": ".jp-Notebook:focus" }
184      },
185      "type": "object"
186    },
187    "notebook:change-to-cell-heading-1": {
188      "default": { },
189      "properties": {
190        "command": { "default": "notebook:change-to-cell-heading-1" },
191        "keys": { "default": ["1"] },
192        "selector": { "default": ".jp-Notebook:focus" }
193      },
194      "type": "object"
195    },
196    "notebook:change-to-cell-heading-2": {
197      "default": { },
198      "properties": {
199        "command": { "default": "notebook:change-to-cell-heading-2" },
200        "keys": { "default": ["2"] },
201        "selector": { "default": ".jp-Notebook:focus" }
202      },
203      "type": "object"
204    },
205    "notebook:change-to-cell-heading-3": {
206      "default": { },
207      "properties": {
208        "command": { "default": "notebook:change-to-cell-heading-3" },
209        "keys": { "default": ["3"] },
210        "selector": { "default": ".jp-Notebook:focus" }
211      },
212      "type": "object"
213    },
214    "notebook:change-to-cell-heading-4": {
215      "default": { },
216      "properties": {
217        "command": { "default": "notebook:change-to-cell-heading-4" },
218        "keys": { "default": ["4"] },
219        "selector": { "default": ".jp-Notebook:focus" }
220      },
221      "type": "object"
222    },
223    "notebook:change-to-cell-heading-5": {
224      "default": { },
225      "properties": {
226        "command": { "default": "notebook:change-to-cell-heading-5" },
227        "keys": { "default": ["5"] },
228        "selector": { "default": ".jp-Notebook:focus" }
229      },
230      "type": "object"
231    },
232    "notebook:change-to-cell-heading-6": {
233      "default": { },
234      "properties": {
235        "command": { "default": "notebook:change-to-cell-heading-6" },
236        "keys": { "default": ["6"] },
237        "selector": { "default": ".jp-Notebook:focus" }
238      },
239      "type": "object"
240    },
241    "notebook:change-cell-to-markdown": {
242      "default": { },
243      "properties": {
244        "command": { "default": "notebook:change-cell-to-markdown" },
245        "keys": { "default": ["M"] },
246        "selector": { "default": ".jp-Notebook:focus" }
247      },
248      "type": "object"
249    },
250    "notebook:change-cell-to-raw": {
251      "default": { },
252      "properties": {
253        "command": { "default": "notebook:change-cell-to-raw" },
254        "keys": { "default": ["R"] },
255        "selector": { "default": ".jp-Notebook:focus" }
256      },
257      "type": "object"
258    },
259    "notebook:copy-cell": {
260      "default": { },
261      "properties": {
262        "command": { "default": "notebook:copy-cell" },
263        "keys": { "default": ["C"] },
264        "selector": { "default": ".jp-Notebook:focus" }
265      },
266      "type": "object"
267    },
268    "notebook:cut-cell": {
269      "default": { },
270      "properties": {
271        "command": { "default": "notebook:cut-cell" },
272        "keys": { "default": ["X"] },
273        "selector": { "default": ".jp-Notebook:focus" }
274      },
275      "type": "object"
276    },
277    "notebook:delete-cell": {
278      "default": { },
279      "properties": {
280        "command": { "default": "notebook:delete-cell" },
281        "keys": { "default": ["D", "D"] },
282        "selector": { "default": ".jp-Notebook:focus" }
283      },
284      "type": "object"
285    },
286    "notebook:enter-command-mode-1": {
287      "default": { },
288      "properties": {
289        "command": { "default": "notebook:enter-command-mode" },
290        "keys": { "default": ["Escape"] },
291        "selector": {
292          "default": ".jp-Notebook.jp-mod-editMode"
293        }
294      },
295      "type": "object"
296    },
297    "notebook:enter-command-mode-2": {
298      "default": { },
299      "properties": {
300        "command": { "default": "notebook:enter-command-mode" },
301        "keys": { "default": ["Ctrl M"] },
302        "selector": { "default": ".jp-Notebook.jp-mod-editMode" }
303      },
304      "type": "object"
305    },
306    "notebook:enter-edit-mode": {
307      "default": { },
308      "properties": {
309        "command": { "default": "notebook:enter-edit-mode" },
310        "keys": { "default": ["Enter"] },
311        "selector": { "default": ".jp-Notebook:focus" }
312      },
313      "type": "object"
314    },
315    "notebook:extend-marked-cells-above-1": {
316      "default": { },
317      "properties": {
318        "command": { "default": "notebook:extend-marked-cells-above" },
319        "keys": { "default": ["Shift ArrowUp"] },
320        "selector": { "default": ".jp-Notebook:focus" }
321      },
322      "type": "object"
323    },
324    "notebook:extend-marked-cells-above-2": {
325      "default": { },
326      "properties": {
327        "command": { "default": "notebook:extend-marked-cells-above" },
328        "keys": { "default": ["Shift K"] },
329        "selector": { "default": ".jp-Notebook:focus" }
330      },
331      "type": "object"
332    },
333    "notebook:extend-marked-cells-below-1": {
334      "default": { },
335      "properties": {
336        "command": { "default": "notebook:extend-marked-cells-below" },
337        "keys": { "default": ["Shift ArrowDown"] },
338        "selector": { "default": ".jp-Notebook:focus" }
339      },
340      "type": "object"
341    },
342    "notebook:extend-marked-cells-below-2": {
343      "default": { },
344      "properties": {
345        "command": { "default": "notebook:extend-marked-cells-below" },
346        "keys": { "default": ["Shift J"] },
347        "selector": { "default": ".jp-Notebook:focus" }
348      },
349      "type": "object"
350    },
351    "notebook:insert-cell-above": {
352      "default": { },
353      "properties": {
354        "command": { "default": "notebook:insert-cell-above" },
355        "keys": { "default": ["A"] },
356        "selector": { "default": ".jp-Notebook:focus" }
357      },
358      "type": "object"
359    },
360    "notebook:insert-cell-below": {
361      "default": { },
362      "properties": {
363        "command": { "default": "notebook:insert-cell-below" },
364        "keys": { "default": ["B"] },
365        "selector": { "default": ".jp-Notebook:focus" }
366      },
367      "type": "object"
368    },
369    "notebook:interrupt-kernel": {
370      "default": { },
371      "properties": {
372        "command": { "default": "notebook:interrupt-kernel" },
373        "keys": { "default": ["I", "I"] },
374        "selector": { "default": ".jp-Notebook:focus" }
375      },
376      "type": "object"
377    },
378    "notebook:merge-cells": {
379      "default": { },
380      "properties": {
381        "command": { "default": "notebook:merge-cells" },
382        "keys": { "default": ["Shift M"] },
383        "selector": { "default": ".jp-Notebook:focus" }
384      },
385      "type": "object"
386    },
387    "notebook:move-cursor-down-1": {
388      "default": { },
389      "properties": {
390        "command": { "default": "notebook:move-cursor-down" },
391        "keys": { "default": ["ArrowDown"] },
392        "selector": { "default": ".jp-Notebook:focus" }
393      },
394      "type": "object"
395    },
396    "notebook:move-cursor-down-2": {
397      "default": { },
398      "properties": {
399        "command": { "default": "notebook:move-cursor-down" },
400        "keys": { "default": ["J"] },
401        "selector": { "default": ".jp-Notebook:focus" }
402      },
403      "type": "object"
404    },
405    "notebook:move-cursor-up-1": {
406      "default": { },
407      "properties": {
408        "command": { "default": "notebook:move-cursor-up" },
409        "keys": { "default": ["ArrowUp"] },
410        "selector": { "default": ".jp-Notebook:focus" }
411      },
412      "type": "object"
413    },
414    "notebook:move-cursor-up-2": {
415      "default": { },
416      "properties": {
417        "command": { "default": "notebook:move-cursor-up" },
418        "keys": { "default": ["K"] },
419        "selector": { "default": ".jp-Notebook:focus" }
420      },
421      "type": "object"
422    },
423    "notebook:paste-cell": {
424      "default": { },
425      "properties": {
426        "command": { "default": "notebook:paste-cell" },
427        "keys": { "default": ["V"] },
428        "selector": { "default": ".jp-Notebook:focus" }
429      },
430      "type": "object"
431    },
432    "notebook:redo-cell-action": {
433      "default": { },
434      "properties": {
435        "command": { "default": "notebook:redo-cell-action" },
436        "keys": { "default": ["Shift Z"] },
437        "selector": { "default": ".jp-Notebook:focus" }
438      },
439      "type": "object"
440    },
441    "notebook:restart-kernel": {
442      "default": { },
443      "properties": {
444        "command": { "default": "notebook:restart-kernel" },
445        "keys": { "default": ["0", "0"] },
446        "selector": { "default": ".jp-Notebook:focus" }
447      },
448      "type": "object"
449    },
450    "notebook:run-cell-1": {
451      "default": { },
452      "properties": {
453        "command": { "default": "notebook:run-cell" },
454        "keys": { "default": ["Ctrl Enter"] },
455        "selector": { "default": ".jp-Notebook:focus" }
456      },
457      "type": "object"
458    },
459    "notebook:run-cell-2": {
460      "default": { },
461      "properties": {
462        "command": { "default": "notebook:run-cell" },
463        "keys": { "default": ["Ctrl Enter"] },
464        "selector": { "default": ".jp-Notebook.jp-mod-editMode" }
465      },
466      "type": "object"
467    },
468    "notebook:run-cell-and-insert-below-1": {
469      "default": { },
470      "properties": {
471        "command": { "default": "notebook:run-cell-and-insert-below" },
472        "keys": { "default": ["Alt Enter"] },
473        "selector": { "default": ".jp-Notebook:focus" }
474      },
475      "type": "object"
476    },
477    "notebook:run-cell-and-insert-below-2": {
478      "default": { },
479      "properties": {
480        "command": { "default": "notebook:run-cell-and-insert-below" },
481        "keys": { "default": ["Alt Enter"] },
482        "selector": { "default": ".jp-Notebook.jp-mod-editMode" }
483      },
484      "type": "object"
485    },
486    "notebook:run-cell-and-select-next-1": {
487      "default": { },
488      "properties": {
489        "command": { "default": "notebook:run-cell-and-select-next" },
490        "keys": { "default": ["Shift Enter"] },
491        "selector": { "default": ".jp-Notebook.jp-mod-editMode" }
492      },
493      "type": "object"
494    },
495    "notebook:run-cell-and-select-next-2": {
496      "default": { },
497      "properties": {
498        "command": { "default": "notebook:run-cell-and-select-next" },
499        "keys": { "default": ["Shift Enter"] },
500        "selector": { "default": ".jp-Notebook:focus" }
501      },
502      "type": "object"
503    },
504    "notebook:split-cell-at-cursor": {
505      "default": { },
506      "properties": {
507        "command": { "default": "notebook:split-cell-at-cursor" },
508        "keys": { "default": ["Ctrl Shift -"] },
509        "selector": { "default": ".jp-Notebook.jp-mod-editMode" }
510      },
511      "type": "object"
512    },
513    "notebook:toggle-all-cell-line-numbers": {
514      "default": { },
515      "properties": {
516        "command": { "default": "notebook:toggle-all-cell-line-numbers" },
517        "keys": { "default": ["Shift L"] },
518        "selector": { "default": ".jp-Notebook:focus" }
519      },
520      "type": "object"
521    },
522    "notebook:toggle-cell-line-numbers": {
523      "default": { },
524      "properties": {
525        "command": { "default": "notebook:toggle-cell-line-numbers" },
526        "keys": { "default": ["L"] },
527        "selector": { "default": ".jp-Notebook:focus" }
528      },
529      "type": "object"
530    },
531    "notebook:undo-cell-action": {
532      "default": { },
533      "properties": {
534        "command": { "default": "notebook:undo-cell-action" },
535        "keys": { "default": ["Z"] },
536        "selector": { "default": ".jp-Notebook:focus" }
537      },
538      "type": "object"
539    },
540    "settingeditor:open": {
541      "default": { },
542      "properties": {
543        "command": { "default": "settingeditor:open" },
544        "keys": { "default": ["Accel ,"] },
545        "selector": { "default": "body" }
546      },
547      "type": "object"
548    },
549    "tooltip:dismiss-console": {
550      "default": { },
551      "properties": {
552        "command": { "default": "tooltip:dismiss" },
553        "keys": { "default": ["Escape"] },
554        "selector": { "default": "body.jp-mod-tooltip .jp-CodeConsole" }
555      },
556      "type": "object"
557    },
558    "tooltip:dismiss-notebook": {
559      "default": { },
560      "properties": {
561        "command": { "default": "tooltip:dismiss" },
562        "keys": { "default": ["Escape"] },
563        "selector": { "default": "body.jp-mod-tooltip .jp-Notebook" }
564      },
565      "type": "object"
566    },
567    "tooltip:launch-console": {
568      "default": { },
569      "properties": {
570        "command": { "default": "tooltip:launch-console" },
571        "keys": { "default": ["Shift Tab"] },
572        "selector": { "default": ".jp-CodeConsole-promptCell .jp-InputArea-editor:not(.jp-mod-has-primary-selection)" }
573      },
574      "type": "object"
575    },
576    "tooltip:launch-notebook": {
577      "default": { },
578      "properties": {
579        "command": { "default": "tooltip:launch-notebook" },
580        "keys": { "default": ["Shift Tab"] },
581        "selector": { "default": ".jp-Notebook.jp-mod-editMode .jp-InputArea-editor:not(.jp-mod-has-primary-selection)" }
582      },
583      "type": "object"
584    }
585  },
586  "oneOf": [ {"$ref": "#/definitions/shortcut" } ],
587  "type": "object",
588  "definitions": {
589    "shortcut": {
590      "properties": {
591        "command": { "type": "string" },
592        "keys": {
593          "items": { "type": "string" },
594          "minItems": 1,
595          "type": "array"
596        },
597        "selector": { "type": "string" }
598      },
599      "type": "object"
600    }
601  }
602}
603