Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.94 KB | None | 0 0
  1. // Overwrite key bindings by placing them into your key bindings file.
  2. [
  3. { "key": "shift+escape", "command": "closeReferenceSearchEditor",
  4. "when": "inReferenceSearchEditor && !config.editor.stablePeek" },
  5. { "key": "escape", "command": "closeReferenceSearchEditor",
  6. "when": "inReferenceSearchEditor && !config.editor.stablePeek" },
  7. { "key": "shift+escape", "command": "cancelSelection",
  8. "when": "editorHasSelection && editorTextFocus" },
  9. { "key": "escape", "command": "cancelSelection",
  10. "when": "editorHasSelection && editorTextFocus" },
  11. { "key": "ctrl+end", "command": "cursorBottom",
  12. "when": "editorTextFocus" },
  13. { "key": "ctrl+shift+end", "command": "cursorBottomSelect",
  14. "when": "editorTextFocus" },
  15. { "key": "ctrl+shift+alt+down", "command": "cursorColumnSelectDown",
  16. "when": "editorTextFocus" },
  17. { "key": "ctrl+shift+alt+left", "command": "cursorColumnSelectLeft",
  18. "when": "editorTextFocus" },
  19. { "key": "ctrl+shift+alt+pagedown", "command": "cursorColumnSelectPageDown",
  20. "when": "editorTextFocus" },
  21. { "key": "ctrl+shift+alt+pageup", "command": "cursorColumnSelectPageUp",
  22. "when": "editorTextFocus" },
  23. { "key": "ctrl+shift+alt+right", "command": "cursorColumnSelectRight",
  24. "when": "editorTextFocus" },
  25. { "key": "ctrl+shift+alt+up", "command": "cursorColumnSelectUp",
  26. "when": "editorTextFocus" },
  27. { "key": "down", "command": "cursorDown",
  28. "when": "editorTextFocus" },
  29. { "key": "ctrl+shift+down", "command": "cursorDownSelect",
  30. "when": "editorTextFocus" },
  31. { "key": "shift+down", "command": "cursorDownSelect",
  32. "when": "editorTextFocus" },
  33. { "key": "end", "command": "cursorEnd",
  34. "when": "editorTextFocus" },
  35. { "key": "shift+end", "command": "cursorEndSelect",
  36. "when": "editorTextFocus" },
  37. { "key": "home", "command": "cursorHome",
  38. "when": "editorTextFocus" },
  39. { "key": "shift+home", "command": "cursorHomeSelect",
  40. "when": "editorTextFocus" },
  41. { "key": "left", "command": "cursorLeft",
  42. "when": "editorTextFocus" },
  43. { "key": "shift+left", "command": "cursorLeftSelect",
  44. "when": "editorTextFocus" },
  45. { "key": "pagedown", "command": "cursorPageDown",
  46. "when": "editorTextFocus" },
  47. { "key": "shift+pagedown", "command": "cursorPageDownSelect",
  48. "when": "editorTextFocus" },
  49. { "key": "pageup", "command": "cursorPageUp",
  50. "when": "editorTextFocus" },
  51. { "key": "shift+pageup", "command": "cursorPageUpSelect",
  52. "when": "editorTextFocus" },
  53. { "key": "right", "command": "cursorRight",
  54. "when": "editorTextFocus" },
  55. { "key": "shift+right", "command": "cursorRightSelect",
  56. "when": "editorTextFocus" },
  57. { "key": "ctrl+home", "command": "cursorTop",
  58. "when": "editorTextFocus" },
  59. { "key": "ctrl+shift+home", "command": "cursorTopSelect",
  60. "when": "editorTextFocus" },
  61. { "key": "ctrl+u", "command": "cursorUndo",
  62. "when": "editorTextFocus" },
  63. { "key": "up", "command": "cursorUp",
  64. "when": "editorTextFocus" },
  65. { "key": "ctrl+shift+up", "command": "cursorUpSelect",
  66. "when": "editorTextFocus" },
  67. { "key": "shift+up", "command": "cursorUpSelect",
  68. "when": "editorTextFocus" },
  69. { "key": "ctrl+right", "command": "cursorWordEndRight",
  70. "when": "editorTextFocus" },
  71. { "key": "ctrl+shift+right", "command": "cursorWordEndRightSelect",
  72. "when": "editorTextFocus" },
  73. { "key": "ctrl+left", "command": "cursorWordStartLeft",
  74. "when": "editorTextFocus" },
  75. { "key": "ctrl+shift+left", "command": "cursorWordStartLeftSelect",
  76. "when": "editorTextFocus" },
  77. { "key": "shift+backspace", "command": "deleteLeft",
  78. "when": "editorTextFocus && !editorReadonly" },
  79. { "key": "backspace", "command": "deleteLeft",
  80. "when": "editorTextFocus && !editorReadonly" },
  81. { "key": "delete", "command": "deleteRight",
  82. "when": "editorTextFocus && !editorReadonly" },
  83. { "key": "ctrl+backspace", "command": "deleteWordLeft",
  84. "when": "editorTextFocus && !editorReadonly" },
  85. { "key": "ctrl+delete", "command": "deleteWordRight",
  86. "when": "editorTextFocus && !editorReadonly" },
  87. { "key": "ctrl+a", "command": "editor.action.selectAll" },
  88. { "key": "ctrl+i", "command": "expandLineSelection",
  89. "when": "editorTextFocus" },
  90. { "key": "shift+tab", "command": "outdent",
  91. "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" },
  92. { "key": "ctrl+shift+z", "command": "redo",
  93. "when": "editorTextFocus && !editorReadonly" },
  94. { "key": "ctrl+y", "command": "redo",
  95. "when": "editorTextFocus && !editorReadonly" },
  96. { "key": "ctrl+down", "command": "scrollLineDown",
  97. "when": "editorTextFocus" },
  98. { "key": "ctrl+up", "command": "scrollLineUp",
  99. "when": "editorTextFocus" },
  100. { "key": "alt+pagedown", "command": "scrollPageDown",
  101. "when": "editorTextFocus" },
  102. { "key": "alt+pageup", "command": "scrollPageUp",
  103. "when": "editorTextFocus" },
  104. { "key": "tab", "command": "tab",
  105. "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" },
  106. { "key": "ctrl+z", "command": "undo",
  107. "when": "editorTextFocus && !editorReadonly" },
  108. { "key": "shift+escape", "command": "removeSecondaryCursors",
  109. "when": "editorHasMultipleSelections && editorTextFocus" },
  110. { "key": "escape", "command": "removeSecondaryCursors",
  111. "when": "editorHasMultipleSelections && editorTextFocus" },
  112. { "key": "enter", "command": "repl.action.acceptInput",
  113. "when": "editorTextFocus && inDebugRepl" },
  114. { "key": "down", "command": "repl.action.historyNext",
  115. "when": "editorTextFocus && inDebugRepl && onLastDebugReplLine" },
  116. { "key": "up", "command": "repl.action.historyPrevious",
  117. "when": "editorTextFocus && inDebugRepl && onFirsteDebugReplLine" },
  118. { "key": "ctrl+f", "command": "actions.find" },
  119. { "key": "ctrl+k ctrl+c", "command": "editor.action.addCommentLine",
  120. "when": "editorTextFocus && !editorReadonly" },
  121. { "key": "ctrl+d", "command": "editor.action.addSelectionToNextFindMatch",
  122. "when": "editorFocus" },
  123. { "key": "shift+alt+a", "command": "editor.action.blockComment",
  124. "when": "editorTextFocus && !editorReadonly" },
  125. { "key": "ctrl+f2", "command": "editor.action.changeAll",
  126. "when": "editorTextFocus && !editorReadonly" },
  127. { "key": "ctrl+insert", "command": "editor.action.clipboardCopyAction",
  128. "when": "editorTextFocus" },
  129. { "key": "ctrl+c", "command": "editor.action.clipboardCopyAction",
  130. "when": "editorTextFocus" },
  131. { "key": "shift+delete", "command": "editor.action.clipboardCutAction",
  132. "when": "editorTextFocus && !editorReadonly" },
  133. { "key": "ctrl+x", "command": "editor.action.clipboardCutAction",
  134. "when": "editorTextFocus && !editorReadonly" },
  135. { "key": "shift+insert", "command": "editor.action.clipboardPasteAction",
  136. "when": "editorTextFocus && !editorReadonly" },
  137. { "key": "ctrl+v", "command": "editor.action.clipboardPasteAction",
  138. "when": "editorTextFocus && !editorReadonly" },
  139. { "key": "ctrl+/", "command": "editor.action.commentLine",
  140. "when": "editorTextFocus && !editorReadonly" },
  141. { "key": "shift+alt+down", "command": "editor.action.copyLinesDownAction",
  142. "when": "editorTextFocus && !editorReadonly" },
  143. { "key": "shift+alt+up", "command": "editor.action.copyLinesUpAction",
  144. "when": "editorTextFocus && !editorReadonly" },
  145. { "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding",
  146. "when": "editorTextFocus && !editorReadonly && editorLangId == 'json'" },
  147. { "key": "ctrl+shift+k", "command": "editor.action.deleteLines",
  148. "when": "editorTextFocus && !editorReadonly" },
  149. { "key": "shift+alt+f", "command": "editor.action.format",
  150. "when": "editorHasFormattingProvider && editorTextFocus && !editorReadonly" },
  151. { "key": "f12", "command": "editor.action.goToDeclaration",
  152. "when": "editorHasDefinitionProvider && editorTextFocus" },
  153. { "key": "ctrl+shift+.", "command": "editor.action.inPlaceReplace.down",
  154. "when": "editorTextFocus && !editorReadonly" },
  155. { "key": "ctrl+shift+,", "command": "editor.action.inPlaceReplace.up",
  156. "when": "editorTextFocus && !editorReadonly" },
  157. { "key": "ctrl+]", "command": "editor.action.indentLines",
  158. "when": "editorTextFocus && !editorReadonly" },
  159. { "key": "ctrl+alt+up", "command": "editor.action.insertCursorAbove",
  160. "when": "editorTextFocus" },
  161. { "key": "shift+alt+i", "command": "editor.action.insertCursorAtEndOfEachLineSelected",
  162. "when": "editorTextFocus" },
  163. { "key": "ctrl+alt+down", "command": "editor.action.insertCursorBelow",
  164. "when": "editorTextFocus" },
  165. { "key": "ctrl+enter", "command": "editor.action.insertLineAfter",
  166. "when": "editorTextFocus && !editorReadonly" },
  167. { "key": "ctrl+shift+enter", "command": "editor.action.insertLineBefore",
  168. "when": "editorTextFocus && !editorReadonly" },
  169. { "key": "ctrl+shift+\\", "command": "editor.action.jumpToBracket",
  170. "when": "editorTextFocus" },
  171. { "key": "f8", "command": "editor.action.marker.next",
  172. "when": "editorFocus && !editorReadonly" },
  173. { "key": "shift+f8", "command": "editor.action.marker.prev",
  174. "when": "editorFocus && !editorReadonly" },
  175. { "key": "alt+down", "command": "editor.action.moveLinesDownAction",
  176. "when": "editorTextFocus && !editorReadonly" },
  177. { "key": "alt+up", "command": "editor.action.moveLinesUpAction",
  178. "when": "editorTextFocus && !editorReadonly" },
  179. { "key": "ctrl+k ctrl+d", "command": "editor.action.moveSelectionToNextFindMatch",
  180. "when": "editorFocus" },
  181. { "key": "f3", "command": "editor.action.nextMatchFindAction",
  182. "when": "editorFocus" },
  183. { "key": "ctrl+f3", "command": "editor.action.nextSelectionMatchFindAction",
  184. "when": "editorFocus" },
  185. { "key": "ctrl+k f12", "command": "editor.action.openDeclarationToTheSide",
  186. "when": "editorHasDefinitionProvider && editorTextFocus" },
  187. { "key": "ctrl+[", "command": "editor.action.outdentLines",
  188. "when": "editorTextFocus && !editorReadonly" },
  189. { "key": "alt+f12", "command": "editor.action.previewDeclaration",
  190. "when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor" },
  191. { "key": "shift+f3", "command": "editor.action.previousMatchFindAction",
  192. "when": "editorFocus" },
  193. { "key": "ctrl+shift+f3", "command": "editor.action.previousSelectionMatchFindAction",
  194. "when": "editorFocus" },
  195. { "key": "ctrl+.", "command": "editor.action.quickFix",
  196. "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" },
  197. { "key": "shift+f12", "command": "editor.action.referenceSearch.trigger",
  198. "when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor" },
  199. { "key": "ctrl+k ctrl+u", "command": "editor.action.removeCommentLine",
  200. "when": "editorTextFocus && !editorReadonly" },
  201. { "key": "f2", "command": "editor.action.rename",
  202. "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" },
  203. { "key": "ctrl+shift+l", "command": "editor.action.selectHighlights",
  204. "when": "editorFocus" },
  205. { "key": "alt+f1", "command": "editor.action.showAccessibilityHelp",
  206. "when": "editorFocus" },
  207. { "key": "shift+f10", "command": "editor.action.showContextMenu",
  208. "when": "editorTextFocus" },
  209. { "key": "ctrl+k ctrl+i", "command": "editor.action.showHover",
  210. "when": "editorTextFocus" },
  211. { "key": "shift+alt+right", "command": "editor.action.smartSelect.grow",
  212. "when": "editorTextFocus" },
  213. { "key": "shift+alt+left", "command": "editor.action.smartSelect.shrink",
  214. "when": "editorTextFocus" },
  215. { "key": "ctrl+h", "command": "editor.action.startFindReplaceAction" },
  216. { "key": "ctrl+m", "command": "editor.action.toggleTabFocusMode" },
  217. { "key": "alt+z", "command": "editor.action.toggleWordWrap",
  218. "when": "editorTextFocus" },
  219. { "key": "ctrl+shift+space", "command": "editor.action.triggerParameterHints",
  220. "when": "editorHasSignatureHelpProvider && editorTextFocus" },
  221. { "key": "ctrl+space", "command": "editor.action.triggerSuggest",
  222. "when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly" },
  223. { "key": "ctrl+k ctrl+x", "command": "editor.action.trimTrailingWhitespace",
  224. "when": "editorTextFocus && !editorReadonly" },
  225. { "key": "ctrl+k ctrl+i", "command": "editor.debug.action.showDebugHover",
  226. "when": "editorTextFocus && inDebugMode" },
  227. { "key": "f9", "command": "editor.debug.action.toggleBreakpoint",
  228. "when": "editorTextFocus" },
  229. { "key": "tab", "command": "editor.emmet.action.expandAbbreviation",
  230. "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus" },
  231. { "key": "ctrl+shift+[", "command": "editor.fold",
  232. "when": "editorTextFocus" },
  233. { "key": "ctrl+k ctrl+0", "command": "editor.foldAll",
  234. "when": "editorTextFocus" },
  235. { "key": "ctrl+k ctrl+1", "command": "editor.foldLevel1",
  236. "when": "editorTextFocus" },
  237. { "key": "ctrl+k ctrl+2", "command": "editor.foldLevel2",
  238. "when": "editorTextFocus" },
  239. { "key": "ctrl+k ctrl+3", "command": "editor.foldLevel3",
  240. "when": "editorTextFocus" },
  241. { "key": "ctrl+k ctrl+4", "command": "editor.foldLevel4",
  242. "when": "editorTextFocus" },
  243. { "key": "ctrl+k ctrl+5", "command": "editor.foldLevel5",
  244. "when": "editorTextFocus" },
  245. { "key": "ctrl+k ctrl+[", "command": "editor.foldRecursively",
  246. "when": "editorTextFocus" },
  247. { "key": "ctrl+k ctrl+]", "command": "editor.unFoldRecursively",
  248. "when": "editorTextFocus" },
  249. { "key": "ctrl+shift+]", "command": "editor.unfold",
  250. "when": "editorTextFocus" },
  251. { "key": "ctrl+k ctrl+j", "command": "editor.unfoldAll",
  252. "when": "editorTextFocus" },
  253. { "key": "tab", "command": "insertSnippet",
  254. "when": "config.editor.tabCompletion && editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus" },
  255. { "key": "shift+escape", "command": "closeFindWidget",
  256. "when": "editorFocus && findWidgetVisible" },
  257. { "key": "escape", "command": "closeFindWidget",
  258. "when": "editorFocus && findWidgetVisible" },
  259. { "key": "ctrl+alt+enter", "command": "editor.action.replaceAll",
  260. "when": "editorFocus && findWidgetVisible" },
  261. { "key": "ctrl+shift+1", "command": "editor.action.replaceOne",
  262. "when": "editorFocus && findWidgetVisible" },
  263. { "key": "alt+enter", "command": "editor.action.selectAllMatches",
  264. "when": "editorFocus && findWidgetVisible" },
  265. { "key": "alt+down", "command": "find.history.showNext",
  266. "when": "editorFocus && findInputFocussed && findWidgetVisible" },
  267. { "key": "alt+up", "command": "find.history.showPrevious",
  268. "when": "editorFocus && findInputFocussed && findWidgetVisible" },
  269. { "key": "alt+c", "command": "toggleFindCaseSensitive",
  270. "when": "editorFocus" },
  271. { "key": "alt+r", "command": "toggleFindRegex",
  272. "when": "editorFocus" },
  273. { "key": "alt+w", "command": "toggleFindWholeWord",
  274. "when": "editorFocus" },
  275. { "key": "shift+escape", "command": "closeBreakpointWidget",
  276. "when": "breakpointWidgetVisible && editorFocus" },
  277. { "key": "escape", "command": "closeBreakpointWidget",
  278. "when": "breakpointWidgetVisible && editorFocus" },
  279. { "key": "enter", "command": "acceptSnippet",
  280. "when": "editorTextFocus && inSnippetMode" },
  281. { "key": "tab", "command": "jumpToNextSnippetPlaceholder",
  282. "when": "editorTextFocus && inSnippetMode" },
  283. { "key": "shift+tab", "command": "jumpToPrevSnippetPlaceholder",
  284. "when": "editorTextFocus && inSnippetMode" },
  285. { "key": "shift+escape", "command": "leaveSnippet",
  286. "when": "editorTextFocus && inSnippetMode" },
  287. { "key": "escape", "command": "leaveSnippet",
  288. "when": "editorTextFocus && inSnippetMode" },
  289. { "key": "shift+escape", "command": "closeMarkersNavigation",
  290. "when": "editorFocus && markersNavigationVisible" },
  291. { "key": "escape", "command": "closeMarkersNavigation",
  292. "when": "editorFocus && markersNavigationVisible" },
  293. { "key": "shift+escape", "command": "closeReferenceSearch",
  294. "when": "referenceSearchVisible && !config.editor.stablePeek" },
  295. { "key": "escape", "command": "closeReferenceSearch",
  296. "when": "referenceSearchVisible && !config.editor.stablePeek" },
  297. { "key": "shift+escape", "command": "closeParameterHints",
  298. "when": "editorTextFocus && parameterHintsVisible" },
  299. { "key": "escape", "command": "closeParameterHints",
  300. "when": "editorTextFocus && parameterHintsVisible" },
  301. { "key": "alt+down", "command": "showNextParameterHint",
  302. "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible" },
  303. { "key": "down", "command": "showNextParameterHint",
  304. "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible" },
  305. { "key": "alt+up", "command": "showPrevParameterHint",
  306. "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible" },
  307. { "key": "up", "command": "showPrevParameterHint",
  308. "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible" },
  309. { "key": "tab", "command": "acceptQuickFixSuggestion",
  310. "when": "editorFocus && quickFixWidgetVisible" },
  311. { "key": "enter", "command": "acceptQuickFixSuggestion",
  312. "when": "editorFocus && quickFixWidgetVisible" },
  313. { "key": "shift+escape", "command": "closeQuickFixWidget",
  314. "when": "editorFocus && quickFixWidgetVisible" },
  315. { "key": "escape", "command": "closeQuickFixWidget",
  316. "when": "editorFocus && quickFixWidgetVisible" },
  317. { "key": "pagedown", "command": "selectNextPageQuickFix",
  318. "when": "editorFocus && quickFixWidgetVisible" },
  319. { "key": "down", "command": "selectNextQuickFix",
  320. "when": "editorFocus && quickFixWidgetVisible" },
  321. { "key": "pageup", "command": "selectPrevPageQuickFix",
  322. "when": "editorFocus && quickFixWidgetVisible" },
  323. { "key": "up", "command": "selectPrevQuickFix",
  324. "when": "editorFocus && quickFixWidgetVisible" },
  325. { "key": "tab", "command": "acceptSelectedSuggestion",
  326. "when": "editorTextFocus && suggestWidgetVisible" },
  327. { "key": "enter", "command": "acceptSelectedSuggestionOnEnter",
  328. "when": "acceptSuggestionOnEnter && editorTextFocus && suggestWidgetVisible" },
  329. { "key": "shift+escape", "command": "hideSuggestWidget",
  330. "when": "editorTextFocus && suggestWidgetVisible" },
  331. { "key": "escape", "command": "hideSuggestWidget",
  332. "when": "editorTextFocus && suggestWidgetVisible" },
  333. { "key": "alt+pagedown", "command": "selectNextPageSuggestion",
  334. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" },
  335. { "key": "pagedown", "command": "selectNextPageSuggestion",
  336. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" },
  337. { "key": "alt+down", "command": "selectNextSuggestion",
  338. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" },
  339. { "key": "down", "command": "selectNextSuggestion",
  340. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" },
  341. { "key": "alt+pageup", "command": "selectPrevPageSuggestion",
  342. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" },
  343. { "key": "pageup", "command": "selectPrevPageSuggestion",
  344. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" },
  345. { "key": "alt+up", "command": "selectPrevSuggestion",
  346. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" },
  347. { "key": "up", "command": "selectPrevSuggestion",
  348. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" },
  349. { "key": "ctrl+space", "command": "toggleSuggestionDetails",
  350. "when": "editorTextFocus && suggestWidgetVisible" },
  351. { "key": "enter", "command": "acceptRenameInput",
  352. "when": "editorFocus && renameInputVisible" },
  353. { "key": "shift+escape", "command": "cancelRenameInput",
  354. "when": "editorFocus && renameInputVisible" },
  355. { "key": "escape", "command": "cancelRenameInput",
  356. "when": "editorFocus && renameInputVisible" },
  357. { "key": "shift+escape", "command": "closeAccessibilityHelp",
  358. "when": "accessibilityHelpWidgetVisible && editorFocus" },
  359. { "key": "escape", "command": "closeAccessibilityHelp",
  360. "when": "accessibilityHelpWidgetVisible && editorFocus" },
  361. { "key": "ctrl+alt+enter", "command": "search.action.replaceAll",
  362. "when": "replaceActive && searchViewletVisible && !findWidgetVisible" },
  363. { "key": "down", "command": "search.focus.nextInputBox",
  364. "when": "inputBoxFocus && searchViewletVisible" },
  365. { "key": "up", "command": "search.focus.previousInputBox",
  366. "when": "inputBoxFocus && searchViewletVisible && !searchInputBoxFocus" },
  367. { "key": "alt+down", "command": "search.history.showNext",
  368. "when": "searchInputBoxFocus && searchViewletVisible" },
  369. { "key": "alt+up", "command": "search.history.showPrevious",
  370. "when": "searchInputBoxFocus && searchViewletVisible" },
  371. { "key": "ctrl+shift+r", "command": "toggleExperimentalScreenReaderSupport" },
  372. { "key": "alt+c", "command": "toggleSearchCaseSensitive",
  373. "when": "searchInputBoxFocus && searchViewletVisible" },
  374. { "key": "alt+r", "command": "toggleSearchRegex",
  375. "when": "searchInputBoxFocus && searchViewletVisible" },
  376. { "key": "alt+w", "command": "toggleSearchWholeWord",
  377. "when": "searchInputBoxFocus && searchViewletVisible" },
  378. { "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" },
  379. { "key": "ctrl+f4", "command": "workbench.action.closeActiveEditor" },
  380. { "key": "ctrl+k ctrl+w", "command": "workbench.action.closeAllEditors" },
  381. { "key": "ctrl+k w", "command": "workbench.action.closeEditorsInGroup" },
  382. { "key": "ctrl+k f", "command": "workbench.action.closeFolder" },
  383. { "key": "shift+escape", "command": "workbench.action.closeMessages",
  384. "when": "globalMessageVisible" },
  385. { "key": "escape", "command": "workbench.action.closeMessages",
  386. "when": "globalMessageVisible" },
  387. { "key": "shift+escape", "command": "workbench.action.closeQuickOpen",
  388. "when": "inQuickOpen" },
  389. { "key": "escape", "command": "workbench.action.closeQuickOpen",
  390. "when": "inQuickOpen" },
  391. { "key": "ctrl+w", "command": "workbench.action.closeWindow",
  392. "when": "!editorIsOpen" },
  393. { "key": "ctrl+shift+w", "command": "workbench.action.closeWindow" },
  394. { "key": "f5", "command": "workbench.action.debug.continue",
  395. "when": "inDebugMode" },
  396. { "key": "ctrl+shift+f5", "command": "workbench.action.debug.restart",
  397. "when": "inDebugMode" },
  398. { "key": "ctrl+f5", "command": "workbench.action.debug.run",
  399. "when": "!inDebugMode" },
  400. { "key": "f5", "command": "workbench.action.debug.start",
  401. "when": "!inDebugMode" },
  402. { "key": "shift+f10", "command": "workbench.action.debug.stepBack",
  403. "when": "inDebugMode" },
  404. { "key": "shift+f11", "command": "workbench.action.debug.stepOut",
  405. "when": "inDebugMode" },
  406. { "key": "f10", "command": "workbench.action.debug.stepOver",
  407. "when": "inDebugMode" },
  408. { "key": "shift+f5", "command": "workbench.action.debug.stop",
  409. "when": "inDebugMode" },
  410. { "key": "ctrl+k m", "command": "workbench.action.editor.changeLanguageMode" },
  411. { "key": "ctrl+k p", "command": "workbench.action.files.copyPathOfActiveFile" },
  412. { "key": "ctrl+n", "command": "workbench.action.files.newUntitledFile" },
  413. { "key": "ctrl+o", "command": "workbench.action.files.openFile" },
  414. { "key": "ctrl+k r", "command": "workbench.action.files.revealActiveFileInWindows" },
  415. { "key": "ctrl+s", "command": "workbench.action.files.save" },
  416. { "key": "ctrl+shift+s", "command": "workbench.action.files.saveAs" },
  417. { "key": "ctrl+k o", "command": "workbench.action.files.showOpenedFileInNewWindow" },
  418. { "key": "ctrl+1", "command": "workbench.action.focusFirstEditorGroup" },
  419. { "key": "ctrl+k ctrl+right", "command": "workbench.action.focusNextGroup" },
  420. { "key": "ctrl+k ctrl+left", "command": "workbench.action.focusPreviousGroup" },
  421. { "key": "ctrl+2", "command": "workbench.action.focusSecondEditorGroup" },
  422. { "key": "ctrl+0", "command": "workbench.action.focusSideBar" },
  423. { "key": "ctrl+3", "command": "workbench.action.focusThirdEditorGroup" },
  424. { "key": "ctrl+g", "command": "workbench.action.gotoLine" },
  425. { "key": "ctrl+shift+o", "command": "workbench.action.gotoSymbol" },
  426. { "key": "ctrl+k enter", "command": "workbench.action.keepEditor" },
  427. { "key": "ctrl+k left", "command": "workbench.action.moveActiveEditorGroupLeft" },
  428. { "key": "ctrl+k right", "command": "workbench.action.moveActiveEditorGroupRight" },
  429. { "key": "ctrl+shift+pageup", "command": "workbench.action.moveEditorLeftInGroup" },
  430. { "key": "ctrl+shift+pagedown", "command": "workbench.action.moveEditorRightInGroup" },
  431. { "key": "ctrl+alt+left", "command": "workbench.action.moveEditorToLeftGroup" },
  432. { "key": "ctrl+alt+right", "command": "workbench.action.moveEditorToRightGroup" },
  433. { "key": "alt+left", "command": "workbench.action.navigateBack" },
  434. { "key": "alt+right", "command": "workbench.action.navigateForward" },
  435. { "key": "ctrl+shift+n", "command": "workbench.action.newWindow" },
  436. { "key": "ctrl+pagedown", "command": "workbench.action.nextEditor" },
  437. { "key": "alt+1", "command": "workbench.action.openEditorAtIndex1" },
  438. { "key": "alt+2", "command": "workbench.action.openEditorAtIndex2" },
  439. { "key": "alt+3", "command": "workbench.action.openEditorAtIndex3" },
  440. { "key": "alt+4", "command": "workbench.action.openEditorAtIndex4" },
  441. { "key": "alt+5", "command": "workbench.action.openEditorAtIndex5" },
  442. { "key": "alt+6", "command": "workbench.action.openEditorAtIndex6" },
  443. { "key": "alt+7", "command": "workbench.action.openEditorAtIndex7" },
  444. { "key": "alt+8", "command": "workbench.action.openEditorAtIndex8" },
  445. { "key": "alt+9", "command": "workbench.action.openEditorAtIndex9" },
  446. { "key": "alt+0", "command": "workbench.action.openLastEditorInGroup" },
  447. { "key": "ctrl+tab", "command": "workbench.action.openNextRecentlyUsedEditorInGroup" },
  448. { "key": "ctrl+shift+tab", "command": "workbench.action.openPreviousRecentlyUsedEditorInGroup" },
  449. { "key": "ctrl+r", "command": "workbench.action.openRecent" },
  450. { "key": "ctrl+shift+u", "command": "workbench.action.output.toggleOutput" },
  451. { "key": "ctrl+pageup", "command": "workbench.action.previousEditor" },
  452. { "key": "ctrl+e", "command": "workbench.action.quickOpen" },
  453. { "key": "ctrl+p", "command": "workbench.action.quickOpen" },
  454. { "key": "ctrl+tab", "command": "workbench.action.quickOpenNavigateNext",
  455. "when": "inQuickOpen" },
  456. { "key": "ctrl+e", "command": "workbench.action.quickOpenNavigateNext",
  457. "when": "inQuickOpen" },
  458. { "key": "ctrl+p", "command": "workbench.action.quickOpenNavigateNext",
  459. "when": "inQuickOpen" },
  460. { "key": "ctrl+shift+t", "command": "workbench.action.reopenClosedEditor" },
  461. { "key": "ctrl+shift+h", "command": "workbench.action.replaceInFiles" },
  462. { "key": "ctrl+shift+j", "command": "workbench.action.search.toggleQueryDetails",
  463. "when": "searchViewletVisible" },
  464. { "key": "ctrl+k ctrl+p", "command": "workbench.action.showAllEditors" },
  465. { "key": "ctrl+t", "command": "workbench.action.showAllSymbols" },
  466. { "key": "f1", "command": "workbench.action.showCommands" },
  467. { "key": "ctrl+shift+p", "command": "workbench.action.showCommands" },
  468. { "key": "ctrl+\\", "command": "workbench.action.splitEditor" },
  469. { "key": "ctrl+shift+b", "command": "workbench.action.tasks.build" },
  470. { "key": "ctrl+shift+c", "command": "workbench.action.terminal.copySelection",
  471. "when": "terminalFocus" },
  472. { "key": "ctrl+shift+`", "command": "workbench.action.terminal.new" },
  473. { "key": "ctrl+shift+c", "command": "workbench.action.terminal.openNativeConsole",
  474. "when": "!terminalFocus" },
  475. { "key": "ctrl+shift+v", "command": "workbench.action.terminal.paste",
  476. "when": "terminalFocus" },
  477. { "key": "ctrl+down", "command": "workbench.action.terminal.scrollDown",
  478. "when": "terminalFocus" },
  479. { "key": "shift+pagedown", "command": "workbench.action.terminal.scrollDownPage",
  480. "when": "terminalFocus" },
  481. { "key": "ctrl+up", "command": "workbench.action.terminal.scrollUp",
  482. "when": "terminalFocus" },
  483. { "key": "shift+pageup", "command": "workbench.action.terminal.scrollUpPage",
  484. "when": "terminalFocus" },
  485. { "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal" },
  486. { "key": "f11", "command": "workbench.action.toggleFullScreen" },
  487. { "key": "ctrl+j", "command": "workbench.action.togglePanel" },
  488. { "key": "ctrl+b", "command": "workbench.action.toggleSidebarVisibility" },
  489. { "key": "ctrl+shift+=", "command": "workbench.action.zoomIn" },
  490. { "key": "ctrl+=", "command": "workbench.action.zoomIn" },
  491. { "key": "ctrl+shift+-", "command": "workbench.action.zoomOut" },
  492. { "key": "ctrl+-", "command": "workbench.action.zoomOut" },
  493. { "key": "ctrl+shift+m", "command": "workbench.actions.view.problems" },
  494. { "key": "ctrl+shift+y", "command": "workbench.debug.action.toggleRepl" },
  495. { "key": "ctrl+k e", "command": "workbench.files.action.focusOpenEditorsView" },
  496. { "key": "ctrl+shift+d", "command": "workbench.view.debug" },
  497. { "key": "ctrl+shift+e", "command": "workbench.view.explorer" },
  498. { "key": "ctrl+shift+x", "command": "workbench.view.extensions" },
  499. { "key": "ctrl+shift+g", "command": "workbench.view.git" },
  500. { "key": "ctrl+shift+f", "command": "workbench.view.search" },
  501. { "key": "f11", "command": "workbench.action.debug.stepInto",
  502. "when": "inDebugMode" },
  503. { "key": "ctrl+shift+tab", "command": "workbench.action.quickOpenNavigatePrevious",
  504. "when": "inQuickOpen" },
  505. { "key": "ctrl+shift+e", "command": "workbench.action.quickOpenNavigatePrevious",
  506. "when": "inQuickOpen" },
  507. { "key": "ctrl+shift+p", "command": "workbench.action.quickOpenNavigatePrevious",
  508. "when": "inQuickOpen" },
  509. { "key": ".", "command": "^acceptSelectedSuggestion",
  510. "when": "editorTextFocus && suggestWidgetVisible && suggestionSupportsAcceptOnKey && editorLangId == 'typescript'" },
  511. { "key": "ctrl+shift+v", "command": "markdown.showPreview",
  512. "when": "!terminalFocus" },
  513. { "key": "ctrl+k v", "command": "markdown.showPreviewToSide" }
  514. ]
  515.  
  516.  
  517. // Here are other available commands:
  518. // - compositionEnd
  519. // - compositionStart
  520. // - cursorWordEndLeft
  521. // - cursorWordEndLeftSelect
  522. // - cursorWordLeft
  523. // - cursorWordLeftSelect
  524. // - cursorWordRight
  525. // - cursorWordRightSelect
  526. // - cursorWordStartRight
  527. // - cursorWordStartRightSelect
  528. // - cut
  529. // - default:compositionEnd
  530. // - default:compositionStart
  531. // - default:cut
  532. // - default:paste
  533. // - default:replacePreviousChar
  534. // - default:type
  535. // - deleteAllLeft
  536. // - deleteAllRight
  537. // - deleteWordEndLeft
  538. // - deleteWordEndRight
  539. // - deleteWordStartLeft
  540. // - deleteWordStartRight
  541. // - editor.action.addSelectionToPreviousFindMatch
  542. // - editor.action.clearoutput
  543. // - editor.action.detectIndentation
  544. // - editor.action.findReferences
  545. // - editor.action.indentUsingSpaces
  546. // - editor.action.indentUsingTabs
  547. // - editor.action.indentationToSpaces
  548. // - editor.action.indentationToTabs
  549. // - editor.action.moveCarretLeftAction
  550. // - editor.action.moveCarretRightAction
  551. // - editor.action.moveSelectionToPreviousFindMatch
  552. // - editor.action.openLink
  553. // - editor.action.showSnippets
  554. // - editor.action.sortLinesAscending
  555. // - editor.action.sortLinesDescending
  556. // - editor.action.toggleRenderControlCharacter
  557. // - editor.action.toggleRenderWhitespace
  558. // - editor.debug.action.conditionalBreakpoint
  559. // - editor.debug.action.runToCursor
  560. // - editor.debug.action.selectionToRepl
  561. // - editor.debug.action.selectionToWatch
  562. // - editor.emmet.action.balanceInward
  563. // - editor.emmet.action.balanceOutward
  564. // - editor.emmet.action.decrementNumberByOne
  565. // - editor.emmet.action.decrementNumberByOneTenth
  566. // - editor.emmet.action.decrementNumberByTen
  567. // - editor.emmet.action.evaluateMath
  568. // - editor.emmet.action.incrementNumberByOne
  569. // - editor.emmet.action.incrementNumberByOneTenth
  570. // - editor.emmet.action.incrementNumberByTen
  571. // - editor.emmet.action.matchingPair
  572. // - editor.emmet.action.mergeLines
  573. // - editor.emmet.action.nextEditPoint
  574. // - editor.emmet.action.previousEditPoint
  575. // - editor.emmet.action.reflectCSSValue
  576. // - editor.emmet.action.removeTag
  577. // - editor.emmet.action.selectNextItem
  578. // - editor.emmet.action.selectPreviousItem
  579. // - editor.emmet.action.splitJoinTag
  580. // - editor.emmet.action.toggleComment
  581. // - editor.emmet.action.updateImageSize
  582. // - editor.emmet.action.updateTag
  583. // - editor.emmet.action.wrapWithAbbreviation
  584. // - lineBreakInsert
  585. // - paste
  586. // - replacePreviousChar
  587. // - setContext
  588. // - type
  589. // - update.showCurrentReleaseNotes
  590. // - workbench.action.acceptSelectedQuickOpenItem
  591. // - workbench.action.appPerf
  592. // - workbench.action.clearEditorHistory
  593. // - workbench.action.closeEditorsInOtherGroups
  594. // - workbench.action.closeEditorsToTheLeft
  595. // - workbench.action.closeEditorsToTheRight
  596. // - workbench.action.closeOtherEditors
  597. // - workbench.action.compareEditor.nextChange
  598. // - workbench.action.compareEditor.previousChange
  599. // - workbench.action.configureLocale
  600. // - workbench.action.cycleEditor
  601. // - workbench.action.debug.configure
  602. // - workbench.action.debug.disconnect
  603. // - workbench.action.debug.pause
  604. // - workbench.action.editor.changeEOL
  605. // - workbench.action.editor.changeEncoding
  606. // - workbench.action.evenEditorWidths
  607. // - workbench.action.files.newFile
  608. // - workbench.action.files.newFolder
  609. // - workbench.action.files.openFolder
  610. // - workbench.action.files.revert
  611. // - workbench.action.files.saveAll
  612. // - workbench.action.files.saveFiles
  613. // - workbench.action.focusActiveEditorGroup
  614. // - workbench.action.focusFirstEditor
  615. // - workbench.action.focusLeftEditor
  616. // - workbench.action.focusPanel
  617. // - workbench.action.focusQuickOpen
  618. // - workbench.action.focusRightEditor
  619. // - workbench.action.focusSecondEditor
  620. // - workbench.action.focusThirdEditor
  621. // - workbench.action.git.globalOpenChange
  622. // - workbench.action.git.globalOpenFile
  623. // - workbench.action.git.input-commit
  624. // - workbench.action.git.publish
  625. // - workbench.action.git.pull
  626. // - workbench.action.git.push
  627. // - workbench.action.git.stage
  628. // - workbench.action.git.startGitBranch
  629. // - workbench.action.git.startGitCheckout
  630. // - workbench.action.git.sync
  631. // - workbench.action.git.undoLastCommit
  632. // - workbench.action.git.unstage
  633. // - workbench.action.maximizeEditor
  634. // - workbench.action.minimizeOtherEditors
  635. // - workbench.action.moveActiveEditorLeft
  636. // - workbench.action.moveActiveEditorRight
  637. // - workbench.action.navigateEditorGroups
  638. // - workbench.action.openGlobalKeybindings
  639. // - workbench.action.openGlobalSettings
  640. // - workbench.action.openPreviousEditor
  641. // - workbench.action.openPreviousEditorFromHistory
  642. // - workbench.action.openSnippets
  643. // - workbench.action.openWorkspaceSettings
  644. // - workbench.action.reloadWindow
  645. // - workbench.action.removeFromEditorHistory
  646. // - workbench.action.reportIssues
  647. // - workbench.action.selectIconTheme
  648. // - workbench.action.selectTheme
  649. // - workbench.action.showEditorsInCenterGroup
  650. // - workbench.action.showEditorsInLeftGroup
  651. // - workbench.action.showEditorsInRightGroup
  652. // - workbench.action.showErrorsWarnings
  653. // - workbench.action.switchWindow
  654. // - workbench.action.tasks.configureTaskRunner
  655. // - workbench.action.tasks.runTask
  656. // - workbench.action.tasks.showLog
  657. // - workbench.action.tasks.terminate
  658. // - workbench.action.tasks.test
  659. // - workbench.action.terminal.clear
  660. // - workbench.action.terminal.focus
  661. // - workbench.action.terminal.focusNext
  662. // - workbench.action.terminal.focusPrevious
  663. // - workbench.action.terminal.kill
  664. // - workbench.action.terminal.runSelectedText
  665. // - workbench.action.toggleDevTools
  666. // - workbench.action.toggleMenuBar
  667. // - workbench.action.toggleSidebarPosition
  668. // - workbench.action.toggleStatusbarVisibility
  669. // - workbench.action.zoomReset
  670. // - workbench.debug.action.focusRepl
  671. // - workbench.debug.panel.action.clearReplAction
  672. // - workbench.debug.viewlet.action.addFunctionBreakpointAction
  673. // - workbench.debug.viewlet.action.disableAllBreakpoints
  674. // - workbench.debug.viewlet.action.enableAllBreakpoints
  675. // - workbench.debug.viewlet.action.reapplyBreakpointsAction
  676. // - workbench.debug.viewlet.action.removeAllBreakpoints
  677. // - workbench.extensions.action.configureWorkspaceRecommendedExtensions
  678. // - workbench.extensions.action.installExtensions
  679. // - workbench.extensions.action.listOutdatedExtensions
  680. // - workbench.extensions.action.openExtensionsFolder
  681. // - workbench.extensions.action.showInstalledExtensions
  682. // - workbench.extensions.action.showPopularExtensions
  683. // - workbench.extensions.action.showRecommendedExtensions
  684. // - workbench.extensions.action.showWorkspaceRecommendedExtensions
  685. // - workbench.extensions.action.updateAllExtensions
  686. // - workbench.files.action.addToWorkingFiles
  687. // - workbench.files.action.closeAllFiles
  688. // - workbench.files.action.closeFile
  689. // - workbench.files.action.closeOtherFiles
  690. // - workbench.files.action.collapseFilesExplorerFolders
  691. // - workbench.files.action.compareFileWith
  692. // - workbench.files.action.focusFilesExplorer
  693. // - workbench.files.action.focusWorkingFiles
  694. // - workbench.files.action.openNextWorkingFile
  695. // - workbench.files.action.openPreviousWorkingFile
  696. // - workbench.files.action.refreshFilesExplorer
  697. // - workbench.files.action.reopenClosedFile
  698. // - workbench.files.action.showActiveFileInExplorer
  699. // - workbench.files.action.workingFilesPicker
  700. // - workbench.output.action.clearOutput
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement