commands.json 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. {
  2. "title": "Application Commands",
  3. "description": "Application commands settings.",
  4. "jupyter.lab.shortcuts": [
  5. {
  6. "command": "application:activate-next-tab",
  7. "keys": ["Ctrl Shift ]"],
  8. "selector": "body"
  9. },
  10. {
  11. "command": "application:activate-previous-tab",
  12. "keys": ["Ctrl Shift ["],
  13. "selector": "body"
  14. },
  15. {
  16. "command": "application:activate-next-tab-bar",
  17. "keys": ["Ctrl Shift ."],
  18. "selector": "body"
  19. },
  20. {
  21. "command": "application:activate-previous-tab-bar",
  22. "keys": ["Ctrl Shift ,"],
  23. "selector": "body"
  24. },
  25. {
  26. "command": "application:close",
  27. "keys": ["Alt W"],
  28. "selector": ".jp-Activity"
  29. },
  30. {
  31. "command": "application:toggle-mode",
  32. "keys": ["Accel Shift D"],
  33. "selector": "body"
  34. },
  35. {
  36. "command": "application:toggle-left-area",
  37. "keys": ["Accel B"],
  38. "selector": "body"
  39. },
  40. {
  41. "command": "application:toggle-right-area",
  42. "keys": ["Accel J"],
  43. "selector": "body"
  44. },
  45. {
  46. "command": "application:toggle-presentation-mode",
  47. "keys": [""],
  48. "selector": "body"
  49. },
  50. {
  51. "command": "application:toggle-fullscreen-mode",
  52. "keys": ["F11"],
  53. "selector": "body"
  54. },
  55. {
  56. "command": "application:toggle-sidebar-widget",
  57. "keys": ["Alt 1"],
  58. "macKeys": [""],
  59. "selector": "body",
  60. "args": {
  61. "side": "left",
  62. "index": 0
  63. }
  64. },
  65. {
  66. "command": "application:toggle-sidebar-widget",
  67. "keys": ["Alt 2"],
  68. "macKeys": [""],
  69. "selector": "body",
  70. "args": {
  71. "side": "left",
  72. "index": 1
  73. }
  74. },
  75. {
  76. "command": "application:toggle-sidebar-widget",
  77. "keys": ["Alt 3"],
  78. "macKeys": [""],
  79. "selector": "body",
  80. "args": {
  81. "side": "left",
  82. "index": 2
  83. }
  84. },
  85. {
  86. "command": "application:toggle-sidebar-widget",
  87. "keys": ["Alt 4"],
  88. "macKeys": [""],
  89. "selector": "body",
  90. "args": {
  91. "side": "left",
  92. "index": 3
  93. }
  94. },
  95. {
  96. "command": "application:toggle-sidebar-widget",
  97. "keys": ["Alt 5"],
  98. "macKeys": [""],
  99. "selector": "body",
  100. "args": {
  101. "side": "left",
  102. "index": 4
  103. }
  104. },
  105. {
  106. "command": "application:toggle-sidebar-widget",
  107. "keys": ["Alt 6"],
  108. "macKeys": [""],
  109. "selector": "body",
  110. "args": {
  111. "side": "left",
  112. "index": 5
  113. }
  114. },
  115. {
  116. "command": "application:toggle-sidebar-widget",
  117. "keys": ["Alt 7"],
  118. "macKeys": [""],
  119. "selector": "body",
  120. "args": {
  121. "side": "left",
  122. "index": 6
  123. }
  124. },
  125. {
  126. "command": "application:toggle-sidebar-widget",
  127. "keys": ["Alt 8"],
  128. "macKeys": [""],
  129. "selector": "body",
  130. "args": {
  131. "side": "left",
  132. "index": 7
  133. }
  134. },
  135. {
  136. "command": "application:toggle-sidebar-widget",
  137. "keys": ["Alt 9"],
  138. "macKeys": [""],
  139. "selector": "body",
  140. "args": {
  141. "side": "left",
  142. "index": 8
  143. }
  144. },
  145. {
  146. "command": "application:toggle-sidebar-widget",
  147. "keys": ["Alt 0"],
  148. "macKeys": [""],
  149. "selector": "body",
  150. "args": {
  151. "side": "left",
  152. "index": 9
  153. }
  154. },
  155. {
  156. "command": "application:toggle-sidebar-widget",
  157. "keys": ["Alt Shift 1"],
  158. "macKeys": [""],
  159. "selector": "body",
  160. "args": {
  161. "side": "right",
  162. "index": 0
  163. }
  164. },
  165. {
  166. "command": "application:toggle-sidebar-widget",
  167. "keys": ["Alt Shift 2"],
  168. "macKeys": [""],
  169. "selector": "body",
  170. "args": {
  171. "side": "right",
  172. "index": 1
  173. }
  174. },
  175. {
  176. "command": "application:toggle-sidebar-widget",
  177. "keys": ["Alt Shift 3"],
  178. "macKeys": [""],
  179. "selector": "body",
  180. "args": {
  181. "side": "right",
  182. "index": 2
  183. }
  184. },
  185. {
  186. "command": "application:toggle-sidebar-widget",
  187. "keys": ["Alt Shift 4"],
  188. "macKeys": [""],
  189. "selector": "body",
  190. "args": {
  191. "side": "right",
  192. "index": 3
  193. }
  194. },
  195. {
  196. "command": "application:toggle-sidebar-widget",
  197. "keys": ["Alt Shift 5"],
  198. "macKeys": [""],
  199. "selector": "body",
  200. "args": {
  201. "side": "right",
  202. "index": 4
  203. }
  204. },
  205. {
  206. "command": "application:toggle-sidebar-widget",
  207. "keys": ["Alt Shift 6"],
  208. "macKeys": [""],
  209. "selector": "body",
  210. "args": {
  211. "side": "right",
  212. "index": 5
  213. }
  214. },
  215. {
  216. "command": "application:toggle-sidebar-widget",
  217. "keys": ["Alt Shift 7"],
  218. "macKeys": [""],
  219. "selector": "body",
  220. "args": {
  221. "side": "right",
  222. "index": 6
  223. }
  224. },
  225. {
  226. "command": "application:toggle-sidebar-widget",
  227. "keys": ["Alt Shift 8"],
  228. "macKeys": [""],
  229. "selector": "body",
  230. "args": {
  231. "side": "right",
  232. "index": 7
  233. }
  234. },
  235. {
  236. "command": "application:toggle-sidebar-widget",
  237. "keys": ["Alt Shift 9"],
  238. "macKeys": [""],
  239. "selector": "body",
  240. "args": {
  241. "side": "right",
  242. "index": 8
  243. }
  244. },
  245. {
  246. "command": "application:toggle-sidebar-widget",
  247. "keys": ["Alt Shift 0"],
  248. "macKeys": [""],
  249. "selector": "body",
  250. "args": {
  251. "side": "right",
  252. "index": 9
  253. }
  254. }
  255. ],
  256. "jupyter.lab.menus": {
  257. "main": [
  258. {
  259. "id": "jp-mainmenu-file",
  260. "items": [
  261. {
  262. "type": "separator",
  263. "rank": 3
  264. },
  265. {
  266. "command": "application:close",
  267. "rank": 3
  268. },
  269. {
  270. "command": "application:close-all",
  271. "rank": 3.2
  272. }
  273. ]
  274. },
  275. {
  276. "id": "jp-mainmenu-view",
  277. "items": [
  278. {
  279. "type": "submenu",
  280. "rank": 1,
  281. "submenu": {
  282. "id": "jp-mainmenu-view-appearance",
  283. "label": "Appearance",
  284. "items": [
  285. {
  286. "command": "application:toggle-mode",
  287. "rank": 0
  288. },
  289. {
  290. "command": "application:toggle-presentation-mode",
  291. "rank": 0
  292. },
  293. {
  294. "command": "application:toggle-fullscreen-mode",
  295. "rank": 0
  296. },
  297. {
  298. "type": "separator",
  299. "rank": 10
  300. },
  301. {
  302. "command": "application:toggle-left-area",
  303. "rank": 11
  304. },
  305. {
  306. "command": "application:toggle-side-tabbar",
  307. "rank": 12,
  308. "args": {
  309. "side": "left"
  310. }
  311. },
  312. {
  313. "command": "application:toggle-right-area",
  314. "rank": 13
  315. },
  316. {
  317. "command": "application:toggle-side-tabbar",
  318. "rank": 14,
  319. "args": {
  320. "side": "right"
  321. }
  322. },
  323. {
  324. "command": "application:toggle-header",
  325. "rank": 15
  326. },
  327. {
  328. "type": "separator",
  329. "rank": 50
  330. },
  331. {
  332. "command": "application:reset-layout",
  333. "rank": 51
  334. }
  335. ]
  336. }
  337. },
  338. {
  339. "type": "separator",
  340. "rank": 1
  341. }
  342. ]
  343. }
  344. ],
  345. "context": [
  346. {
  347. "command": "application:close",
  348. "selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
  349. "rank": 4
  350. },
  351. {
  352. "command": "application:close-other-tabs",
  353. "selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
  354. "rank": 4
  355. },
  356. {
  357. "command": "application:close-all",
  358. "selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
  359. "rank": 4
  360. },
  361. {
  362. "command": "application:close-right-tabs",
  363. "selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
  364. "rank": 5
  365. },
  366. {
  367. "command": "__internal:context-menu-info",
  368. "selector": "body",
  369. "rank": 9007199254740991
  370. }
  371. ]
  372. },
  373. "properties": {},
  374. "additionalProperties": false,
  375. "type": "object"
  376. }