keybindings.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. // Place your key bindings in this file to override the defaultsauto[]
  2. [
  3. {
  4. "key": "shift+cmd+e",
  5. "command": "actions.findWithSelection"
  6. },
  7. {
  8. "key": "cmd+e",
  9. "command": "-actions.findWithSelection"
  10. },
  11. {
  12. "key": "cmd+e",
  13. "command": "workbench.view.explorer"
  14. },
  15. {
  16. "key": "shift+cmd+e",
  17. "command": "-workbench.view.explorer"
  18. },
  19. {
  20. "key": "r",
  21. "command": "renameFile",
  22. "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
  23. },
  24. {
  25. "key": "enter",
  26. "command": "-renameFile",
  27. "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
  28. },
  29. {
  30. "key": "j",
  31. "command": "list.focusDown",
  32. "when": "listFocus"
  33. },
  34. {
  35. "key": "k",
  36. "command": "list.focusUp",
  37. "when": "listFocus"
  38. },
  39. {
  40. "key": "ctrl+j",
  41. "command": "selectNextSuggestion",
  42. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  43. },
  44. {
  45. "key": "ctrl+k",
  46. "command": "selectPrevSuggestion",
  47. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  48. },
  49. {
  50. "key": "ctrl+j",
  51. "command": "workbench.action.quickOpenNavigateNext",
  52. "when": "inQuickOpen"
  53. },
  54. {
  55. "key": "tab",
  56. "command": "selectNextSuggestion",
  57. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  58. },
  59. {
  60. "key": "tab",
  61. "command": "workbench.action.quickOpenNavigateNext",
  62. "when": "inQuickOpen"
  63. },
  64. {
  65. "key": "shit+tab",
  66. "command": "selectPrevSuggestion",
  67. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  68. },
  69. {
  70. "key": "shift+tab",
  71. "command": "workbench.action.quickOpenNavigatePrevious",
  72. "when": "inQuickOpen"
  73. },
  74. {
  75. "key": "ctrl+k",
  76. "command": "workbench.action.quickOpenNavigatePrevious",
  77. "when": "inQuickOpen"
  78. },
  79. {
  80. "key": "enter",
  81. "command": "list.select",
  82. "when": "explorerViewletVisible && filesExplorerFocus"
  83. },
  84. {
  85. "key": "l",
  86. "command": "list.select",
  87. "when": "explorerViewletVisible && filesExplorerFocus"
  88. },
  89. {
  90. "key": "o",
  91. "command": "list.toggleExpand",
  92. "when": "listFocus"
  93. },
  94. {
  95. "key": "h",
  96. "command": "list.collapse",
  97. "when": "listFocus"
  98. },
  99. {
  100. "key": "a",
  101. "command": "explorer.newFile",
  102. "when": "filesExplorerFocus && !inputFocus"
  103. },
  104. {
  105. "key": "shift+a",
  106. "command": "explorer.newFolder",
  107. "when": "filesExplorerFocus && !inputFocus"
  108. },
  109. {
  110. "key": "shift+;",
  111. "command": "insertPrevSuggestion",
  112. "when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
  113. },
  114. {
  115. "key": "ctrl+l",
  116. "when": "sideBarFocus",
  117. "command": "workbench.action.focusActiveEditorGroup"
  118. },
  119. {
  120. "key": "ctrl+k",
  121. "command": "workbench.action.focusActiveEditorGroup",
  122. "when": "terminalFocus"
  123. },
  124. {
  125. "key": "ctrl+j",
  126. "command": "workbench.action.terminal.focus",
  127. "when": "!terminalFocus"
  128. }
  129. ]