1
0

keybindings.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. // Place your key bindings in this file to override the defaultsauto[]
  2. [
  3. {
  4. "key": "cmd+k cmd+j",
  5. "command": "workbench.action.toggleMaximizedPanel"
  6. },
  7. {
  8. "key": "cmd+k cmd+z",
  9. "command": "workbench.action.maximizeEditor"
  10. },
  11. {
  12. "key": "cmd+k shift+cmd+z",
  13. "command": "workbench.action.evenEditorWidths"
  14. },
  15. {
  16. "key": "alt+cmd+/",
  17. "command": "-liveshare.followToTheSide",
  18. "when": "liveshare:hasCollaborators"
  19. },
  20. {
  21. "key": "alt+cmd+/",
  22. "command": "editor.action.blockComment",
  23. "when": "editorTextFocus && !editorReadonly"
  24. },
  25. {
  26. "key": "shift+alt+a",
  27. "command": "-editor.action.blockComment",
  28. "when": "editorTextFocus && !editorReadonly"
  29. },
  30. {
  31. "key": "cmd+k cmd+u",
  32. "command": "editor.action.transformToUppercase"
  33. },
  34. {
  35. "key": "cmd+k cmd+l",
  36. "command": "editor.action.transformToLowercase"
  37. },
  38. {
  39. "key": "ctrl+shift+w",
  40. "command": "editor.emmet.action.wrapWithAbbreviation"
  41. },
  42. {
  43. "key": "ctrl+t",
  44. "command": "-editor.action.transposeLetters",
  45. "when": "textInputFocus && !editorReadonly"
  46. },
  47. {
  48. "key": "ctrl+t",
  49. "command": "extension.transpose"
  50. },
  51. {
  52. "key": "cmd+h",
  53. "command": "workbench.files.action.collapseExplorerFolders"
  54. },
  55. {
  56. // show error under cursor
  57. "key": "cmd+;",
  58. "command": "editor.action.showHover",
  59. "when": "editorTextFocus"
  60. },
  61. {
  62. // prevent fat-fingering the settings hotkey
  63. "key": "cmd+, cmd+,",
  64. "command": "workbench.action.openSettings"
  65. },
  66. {
  67. "key": "cmd+,",
  68. "command": "-workbench.action.openSettings"
  69. },
  70. {
  71. "key": "cmd+, cmd+.",
  72. "command": "macros.autoFixAll"
  73. },
  74. // activity bar
  75. {
  76. "key": "cmd+k cmd+b",
  77. "command": "workbench.action.toggleActivityBarVisibility",
  78. },
  79. {
  80. "key": "ctrl+]",
  81. "command": "workbench.action.nextSideBarView",
  82. // "when": "sideBarFocus"
  83. },
  84. {
  85. "key": "ctrl+[",
  86. "command": "workbench.action.previousSideBarView",
  87. // "when": "sideBarFocus"
  88. },
  89. // Focus editors and groups by cmd+number keys
  90. {
  91. "key": "cmd+1",
  92. "command": "workbench.action.openEditorAtIndex1"
  93. },
  94. {
  95. "key": "cmd+2",
  96. "command": "workbench.action.openEditorAtIndex2"
  97. },
  98. {
  99. "key": "cmd+3",
  100. "command": "workbench.action.openEditorAtIndex3"
  101. },
  102. {
  103. "key": "cmd+4",
  104. "command": "workbench.action.openEditorAtIndex4"
  105. },
  106. {
  107. "key": "cmd+5",
  108. "command": "workbench.action.openEditorAtIndex5"
  109. },
  110. {
  111. "key": "cmd+6",
  112. "command": "workbench.action.openEditorAtIndex6"
  113. },
  114. {
  115. "key": "cmd+7",
  116. "command": "workbench.action.openEditorAtIndex7"
  117. },
  118. {
  119. "key": "cmd+8",
  120. "command": "workbench.action.openEditorAtIndex8"
  121. },
  122. {
  123. "key": "cmd+9",
  124. "command": "workbench.action.openEditorAtIndex9"
  125. },
  126. {
  127. "key": "cmd+shift+1",
  128. "command": "workbench.action.focusFirstEditorGroup"
  129. },
  130. {
  131. "key": "cmd+shift+2",
  132. "command": "workbench.action.focusSecondEditorGroup"
  133. },
  134. {
  135. "key": "cmd+shift+3",
  136. "command": "workbench.action.focusThirdEditorGroup"
  137. }
  138. ]