keybindings.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. [
  2. {
  3. "key": "shift+ctrl+e",
  4. "command": "actions.findWithSelection"
  5. },
  6. {
  7. "key": "ctrl+e",
  8. "command": "-actions.findWithSelection"
  9. },
  10. {
  11. "key": "ctrl+e",
  12. "command": "workbench.view.explorer"
  13. },
  14. {
  15. "key": "shift+ctrl+e",
  16. "command": "-workbench.view.explorer"
  17. },
  18. {
  19. "key": "r",
  20. "command": "renameFile",
  21. "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
  22. },
  23. {
  24. "key": "enter",
  25. "command": "-renameFile",
  26. "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
  27. },
  28. {
  29. "key": "j",
  30. "command": "list.focusDown",
  31. "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
  32. },
  33. {
  34. "key": "k",
  35. "command": "list.focusUp",
  36. "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
  37. },
  38. {
  39. "key": "ctrl+j",
  40. "command": "selectNextSuggestion",
  41. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  42. },
  43. {
  44. "key": "ctrl+k",
  45. "command": "selectPrevSuggestion",
  46. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  47. },
  48. {
  49. "key": "ctrl+j",
  50. "command": "workbench.action.quickOpenNavigateNext",
  51. "when": "inQuickOpen"
  52. },
  53. {
  54. "key": "tab",
  55. "command": "selectNextSuggestion",
  56. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  57. },
  58. {
  59. "key": "tab",
  60. "command": "workbench.action.quickOpenNavigateNext",
  61. "when": "inQuickOpen"
  62. },
  63. {
  64. "key": "shift+tab",
  65. "command": "selectPrevSuggestion",
  66. "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  67. },
  68. {
  69. "key": "shift+tab",
  70. "command": "workbench.action.quickOpenNavigatePrevious",
  71. "when": "inQuickOpen"
  72. },
  73. {
  74. "key": "ctrl+k",
  75. "command": "workbench.action.quickOpenNavigatePrevious",
  76. "when": "inQuickOpen"
  77. },
  78. {
  79. "key": "enter",
  80. "command": "list.select",
  81. "when": "explorerViewletVisible && filesExplorerFocus"
  82. },
  83. {
  84. "key": "l",
  85. "command": "list.select",
  86. "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
  87. },
  88. {
  89. "key": "o",
  90. "command": "list.toggleExpand",
  91. "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
  92. },
  93. {
  94. "key": "h",
  95. "command": "list.collapse",
  96. "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
  97. },
  98. {
  99. "key": "a",
  100. "command": "explorer.newFile",
  101. "when": "filesExplorerFocus && !inputFocus"
  102. },
  103. {
  104. "key": "shift+a",
  105. "command": "explorer.newFolder",
  106. "when": "filesExplorerFocus && !inputFocus"
  107. },
  108. {
  109. "key": "shift+;",
  110. "command": "insertPrevSuggestion",
  111. "when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
  112. },
  113. {
  114. "key": "ctrl+l",
  115. "when": "sideBarFocus",
  116. "command": "workbench.action.focusActiveEditorGroup"
  117. },
  118. {
  119. "key": "ctrl+k",
  120. "command": "workbench.action.focusActiveEditorGroup",
  121. "when": "terminalFocus"
  122. },
  123. {
  124. "key": "ctrl+shift+t",
  125. "command": "workbench.action.terminal.focus",
  126. "when": "!terminalFocus"
  127. },
  128. {
  129. "key": "ctrl+j",
  130. "command": "-editor.action.insertLineAfter",
  131. "when": "editorTextFocus && neovim.ctrlKeysInsert && !neovim.recording && neovim.mode == 'insert'"
  132. },
  133. {
  134. "key": "alt+j",
  135. "command": "workbench.action.terminal.focus",
  136. "when": "!terminalFocus"
  137. },
  138. {
  139. "key": "ctrl+shift+t",
  140. "command": "workbench.action.togglePanel"
  141. },
  142. {
  143. "key": "ctrl+j",
  144. "command": "-workbench.action.togglePanel"
  145. },
  146. {
  147. "key": "shift+k",
  148. "command": "editor.action.showHover",
  149. "when": "editorTextFocus && neovim.mode != 'insert'"
  150. },
  151. {
  152. "key": "ctrl+k ctrl+i",
  153. "command": "-editor.action.showHover",
  154. "when": "editorTextFocus"
  155. },
  156. {
  157. "key": "shift+tab",
  158. "command": "-acceptAlternativeSelectedSuggestion",
  159. "when": "suggestWidgetVisible && textInputFocus && textInputFocus"
  160. },
  161. {
  162. "key": "ctrl+f",
  163. "command": "-vscode-neovim.ctrl-f",
  164. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  165. },
  166. {
  167. "key": "space",
  168. "command": "whichkey.show",
  169. "when": "neovim.mode != 'insert' && !inputFocus"
  170. }
  171. ]