Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.89 KB | None | 0 0
  1. // Place your key bindings in this file to override the defaults
  2. [
  3. {
  4. "key": "cmd+l",
  5. "command": "console.log.wrap.down.prefix",
  6. "when": "editorTextFocus"
  7. },
  8. {
  9. "key": "ctrl+alt+w ctrl+alt+down",
  10. "command": "-console.log.wrap.down.prefix",
  11. "when": "editorTextFocus"
  12. },
  13. {
  14. "key": "ctrl+alt+c ctrl+alt+c",
  15. "command": "extension.changeCase.camel"
  16. },
  17. {
  18. "key": "ctrl+alt+c ctrl+alt+s",
  19. "command": "extension.changeCase.snake"
  20. },
  21. {
  22. "key": "alt+up",
  23. "command": "extension.changeCase.upper"
  24. },
  25. {
  26. "key": "alt+down",
  27. "command": "extension.changeCase.lower"
  28. },
  29. {
  30. "key": "ctrl+alt+c ctrl+alt+a",
  31. "command": "extension.changeCase.constant"
  32. },
  33. {
  34. "key": "ctrl+alt+c ctrl+alt+d",
  35. "command": "extension.changeCase.kebab"
  36. },
  37. {
  38. "key": "ctrl+alt+c ctrl+alt+p",
  39. "command": "extension.changeCase.pascal"
  40. },
  41. {
  42. "key": "ctrl+alt+c ctrl+alt+e",
  43. "command": "extension.changeCase.sentence"
  44. },
  45. {
  46. "key": "ctrl+shift+s ctrl+shift+l",
  47. "command": "git.stageSelectedRanges"
  48. },
  49. {
  50. "key": "ctrl+shift+s ctrl+shift+f",
  51. "command": "git.stage"
  52. },
  53. {
  54. "key": "ctrl+shift+s ctrl+shift+backspace",
  55. "command": "git.clean"
  56. },
  57. {
  58. "key": "ctrl+escape",
  59. "command": "search.action.clearSearchResults"
  60. },
  61. {
  62. "key": "ctrl+cmd+up",
  63. "command": "editor.action.moveLinesUpAction",
  64. "when": "editorTextFocus && !editorReadonly"
  65. },
  66. {
  67. "key": "alt+up",
  68. "command": "-editor.action.moveLinesUpAction",
  69. "when": "editorTextFocus && !editorReadonly"
  70. },
  71. {
  72. "key": "ctrl+cmd+down",
  73. "command": "editor.action.moveLinesDownAction",
  74. "when": "editorTextFocus && !editorReadonly"
  75. },
  76. {
  77. "key": "alt+down",
  78. "command": "-editor.action.moveLinesDownAction",
  79. "when": "editorTextFocus && !editorReadonly"
  80. },
  81. {
  82. "key": "ctrl+shift+k",
  83. "command": "editor.action.deleteLines",
  84. "when": "textInputFocus && !editorReadonly"
  85. },
  86. {
  87. "key": "shift+cmd+k",
  88. "command": "-editor.action.deleteLines",
  89. "when": "textInputFocus && !editorReadonly"
  90. },
  91. {
  92. "key": "ctrl+c ctrl+c",
  93. "command": "copyFilePath"
  94. },
  95. {
  96. "key": " ctrl+c ctrl+r",
  97. "command": "copyRelativeFilePath"
  98. },
  99. {
  100. "key": "shift+alt+d",
  101. "command": "fileutils.duplicateFile"
  102. },
  103. {
  104. "key": "alt+cmd+backspace",
  105. "command": "deleteFile",
  106. "when": "config.files.enableTrash"
  107. },
  108. {
  109. "key": "ctrl+cmd+g",
  110. "command": "editor.action.selectHighlights",
  111. "when": "editorFocus"
  112. },
  113. {
  114. "key": "shift+cmd+l",
  115. "command": "-editor.action.selectHighlights",
  116. "when": "editorFocus"
  117. },
  118. {
  119. "key": "ctrl+shift+d",
  120. "command": "workbench.view.debug"
  121. },
  122. {
  123. "key": "shift+cmd+d",
  124. "command": "-workbench.view.debug"
  125. },
  126. {
  127. "key": "ctrl+shift+e",
  128. "command": "workbench.view.explorer"
  129. },
  130. {
  131. "key": "shift+cmd+e",
  132. "command": "-workbench.view.explorer"
  133. },
  134. {
  135. "key": "ctrl+shift+z",
  136. "command": "expand-selection-to-scope.expand"
  137. },
  138. {
  139. "key": "ctrl+shift+cmd+right",
  140. "command": "-editor.action.smartSelect.expand",
  141. "when": "editorTextFocus"
  142. },
  143. {
  144. "key": "ctrl+z",
  145. "command": "editor.action.smartSelect.expand"
  146. },
  147. {
  148. "key": "ctrl+c ctrl+f",
  149. "command": "fileutils.copyFileName"
  150. },
  151. {
  152. "key": "ctrl+c ctrl+c",
  153. "command": "copyFilePath",
  154. "when": "!editorFocus"
  155. },
  156. {
  157. "key": "alt+cmd+c",
  158. "command": "-copyFilePath",
  159. "when": "!editorFocus"
  160. },
  161. {
  162. "key": "ctrl+c ctrl+r",
  163. "command": "copyRelativeFilePath",
  164. "when": "!editorFocus"
  165. },
  166. {
  167. "key": "shift+alt+cmd+c",
  168. "command": "-copyRelativeFilePath",
  169. "when": "!editorFocus"
  170. },
  171. {
  172. "key": "alt+q",
  173. "command": "gitlens.diffLineWithWorking",
  174. "when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/"
  175. },
  176. {
  177. "key": "alt+w",
  178. "command": "-gitlens.diffLineWithWorking",
  179. "when": "editorTextFocus && config.gitlens.keymap == 'alternate' && gitlens:activeFileStatus =~ /tracked/"
  180. },
  181. {
  182. "key": "alt+w",
  183. "command": "rewrap.rewrapComment",
  184. "when": "editorTextFocus"
  185. },
  186. {
  187. "key": "alt+q",
  188. "command": "-rewrap.rewrapComment",
  189. "when": "editorTextFocus"
  190. },
  191. {
  192. "key": "ctrl+alt+s",
  193. "command": "editor.action.sortLinesAscending"
  194. },
  195. {
  196. "key": "ctrl+t ctrl+t",
  197. "command": "test-explorer.run-test-at-cursor"
  198. },
  199. {
  200. "key": "ctrl+t ctrl+f",
  201. "command": "test-explorer.run-file"
  202. },
  203. {
  204. "key": "ctrl+t ctrl+a",
  205. "command": "test-explorer.run-all"
  206. },
  207. {
  208. "key": "ctrl+t ctrl+d",
  209. "command": "test-explorer.debug-test-at-cursor"
  210. },
  211. {
  212. "key": "cmd+t cmd+l",
  213. "command": "test-explorer.rerun"
  214. },
  215. {
  216. "key": "alt+=",
  217. "command": "extension.calculate"
  218. },
  219. {
  220. "key": "alt+'",
  221. "command": "editor.togglequotes"
  222. },
  223. {
  224. "key": "cmd+'",
  225. "command": "-editor.togglequotes"
  226. },
  227. {
  228. "key": "cmd+b",
  229. "command": "code-runner.run"
  230. },
  231. {
  232. "key": "ctrl+alt+n",
  233. "command": "-code-runner.run"
  234. },
  235. {
  236. "key": "cmd+shift+c",
  237. "command": "macros.copyLineContents"
  238. },
  239. {
  240. "key": "cmd+shift+x",
  241. "command": "macros.cutLineContents"
  242. },
  243. {
  244. "key": "ctrl+shift+x",
  245. "command": "workbench.view.extensions"
  246. },
  247. {
  248. "key": "shift+cmd+x",
  249. "command": "-workbench.view.extensions"
  250. },
  251. {
  252. "key": "ctrl+shift+s ctrl+shift+z",
  253. "command": "git.stashIncludeUntracked"
  254. },
  255. {
  256. "key": "shift+alt+r",
  257. "command": "fileutils.moveFile"
  258. },
  259.  
  260.  
  261. // Paste and Indent
  262. {
  263. "key": "cmd+v",
  264. "command": "editor.action.clipboardPasteAction",
  265. "when": "!editorTextFocus"
  266. },
  267. {
  268. "key": "cmd+shift+v",
  269. "command": "editor.action.clipboardPasteAction",
  270. "when": "editorTextFocus && !editorReadonly"
  271. },
  272. {
  273. "key": "cmd+v",
  274. "command": "-clipboard.paste",
  275. "when": "editorTextFocus"
  276. },
  277. {
  278. "key": "f12",
  279. "command": "-editor.action.revealDefinition",
  280. "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
  281. },
  282. {
  283. "key": "f12",
  284. "command": "editor.action.revealDefinition"
  285. }
  286. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement