Advertisement
Xma

vsc windows keybinds

Xma
Jan 24th, 2024
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.41 KB | None | 0 0
  1. // Place your key bindings in this file to override the defaultsauto[]
  2. [
  3. {
  4. "key": "ctrl+alt+1",
  5. "command": "extension.ecsstractor_port_runwithbem"
  6. },
  7. {
  8. "key": "ctrl+alt+2",
  9. "command": "extension.ecsstractor_port_run"
  10. },
  11. {
  12. "key": "ctrl+alt+3",
  13. "command": "extension.ecsstractor_port_runwithoutbem"
  14. },
  15. {
  16. "key": "alt+d",
  17. "command": "editor.emmet.action.wrapWithAbbreviation"
  18. },
  19. {
  20. "key": "ctrl+h",
  21. "command": "workbench.action.previousEditor"
  22. },
  23. {
  24. "key": "ctrl+pageup",
  25. "command": "-workbench.action.previousEditor"
  26. },
  27. {
  28. "key": "ctrl+l",
  29. "command": "workbench.action.nextEditor"
  30. },
  31. {
  32. "key": "ctrl+pagedown",
  33. "command": "-workbench.action.nextEditor"
  34. },
  35. {
  36. "key": "ctrl+s",
  37. "command": "workbench.action.files.save"
  38. },
  39. {
  40. "key": "ctrl+s",
  41. "command": "-workbench.action.files.save"
  42. },
  43. {
  44. "key": "ctrl+s",
  45. "command": "issue.suggestRefresh",
  46. "when": "suggestWidgetVisible"
  47. },
  48. {
  49. "key": "ctrl+shift+space",
  50. "command": "-issue.suggestRefresh",
  51. "when": "suggestWidgetVisible"
  52. },
  53. {
  54. "key": "ctrl+alt+w",
  55. "command": "vscode-neovim.send",
  56. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  57. },
  58. {
  59. "key": "ctrl+a",
  60. "command": "-vscode-neovim.send",
  61. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  62. },
  63. {
  64. "key": "ctrl+alt+w",
  65. "command": "vscode-neovim.send",
  66. "when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.mode == 'insert'"
  67. },
  68. {
  69. "key": "ctrl+a",
  70. "command": "-vscode-neovim.send",
  71. "when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.mode == 'insert'"
  72. },
  73. {
  74. "key": "ctrl+shift+alt+=",
  75. "command": "workbench.action.zoomIn"
  76. },
  77. {
  78. "key": "ctrl+=",
  79. "command": "-workbench.action.zoomIn"
  80. },
  81. {
  82. "key": "ctrl+shift+=",
  83. "command": "-workbench.action.zoomIn"
  84. },
  85. {
  86. "key": "ctrl+shift+alt+g",
  87. "command": "workbench.view.scm",
  88. "when": "workbench.scm.active"
  89. },
  90. {
  91. "key": "ctrl+shift+g",
  92. "command": "-workbench.view.scm",
  93. "when": "workbench.scm.active"
  94. },
  95. {
  96. "key": "ctrl+shift+alt+h",
  97. "command": "editor.showCallHierarchy",
  98. "when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor"
  99. },
  100. {
  101. "key": "shift+alt+h",
  102. "command": "-editor.showCallHierarchy",
  103. "when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor"
  104. },
  105. {
  106. "key": "ctrl+h",
  107. "command": "-vscode-neovim.send",
  108. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  109. },
  110. {
  111. "key": "ctrl+h",
  112. "command": "-vscode-neovim.send",
  113. "when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.mode == 'insert'"
  114. },
  115. {
  116. "key": "ctrl+shift+alt+h",
  117. "command": "editor.action.startFindReplaceAction",
  118. "when": "editorFocus || editorIsOpen"
  119. },
  120. {
  121. "key": "ctrl+h",
  122. "command": "-editor.action.startFindReplaceAction",
  123. "when": "editorFocus || editorIsOpen"
  124. },
  125. {
  126. "key": "ctrl+alt+w",
  127. "command": "vscode-neovim.send-cmdline",
  128. "when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'"
  129. },
  130. {
  131. "key": "ctrl+h",
  132. "command": "-vscode-neovim.send-cmdline",
  133. "when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'"
  134. },
  135. {
  136. "key": "alt+1",
  137. "command": "workbench.action.focusFirstEditorGroup"
  138. },
  139. {
  140. "key": "ctrl+1",
  141. "command": "-workbench.action.focusFirstEditorGroup"
  142. },
  143. {
  144. "key": "alt+2",
  145. "command": "workbench.action.focusSecondEditorGroup"
  146. },
  147. {
  148. "key": "ctrl+2",
  149. "command": "-workbench.action.focusSecondEditorGroup"
  150. },
  151. {
  152. "key": "alt+3",
  153. "command": "workbench.action.focusThirdEditorGroup"
  154. },
  155. {
  156. "key": "ctrl+3",
  157. "command": "-workbench.action.focusThirdEditorGroup"
  158. },
  159. {
  160. "key": "alt+4",
  161. "command": "workbench.action.focusFourthEditorGroup"
  162. },
  163. {
  164. "key": "ctrl+4",
  165. "command": "-workbench.action.focusFourthEditorGroup"
  166. },
  167. {
  168. "key": "alt+5",
  169. "command": "workbench.action.focusFifthEditorGroup"
  170. },
  171. {
  172. "key": "ctrl+5",
  173. "command": "-workbench.action.focusFifthEditorGroup"
  174. },
  175. {
  176. "key": "alt+6",
  177. "command": "workbench.action.focusSixthEditorGroup"
  178. },
  179. {
  180. "key": "ctrl+6",
  181. "command": "-workbench.action.focusSixthEditorGroup"
  182. },
  183. {
  184. "key": "alt+7",
  185. "command": "workbench.action.focusSeventhEditorGroup"
  186. },
  187. {
  188. "key": "ctrl+7",
  189. "command": "-workbench.action.focusSeventhEditorGroup"
  190. },
  191. {
  192. "key": "alt+8",
  193. "command": "workbench.action.focusEighthEditorGroup"
  194. },
  195. {
  196. "key": "ctrl+8",
  197. "command": "-workbench.action.focusEighthEditorGroup"
  198. },
  199. {
  200. "key": "ctrl+2",
  201. "command": "workbench.action.openEditorAtIndex2"
  202. },
  203. {
  204. "key": "alt+2",
  205. "command": "-workbench.action.openEditorAtIndex2"
  206. },
  207. {
  208. "key": "ctrl+1",
  209. "command": "workbench.action.openEditorAtIndex1"
  210. },
  211. {
  212. "key": "alt+1",
  213. "command": "-workbench.action.openEditorAtIndex1"
  214. },
  215. {
  216. "key": "ctrl+3",
  217. "command": "workbench.action.openEditorAtIndex3"
  218. },
  219. {
  220. "key": "alt+3",
  221. "command": "-workbench.action.openEditorAtIndex3"
  222. },
  223. {
  224. "key": "ctrl+4",
  225. "command": "workbench.action.openEditorAtIndex4"
  226. },
  227. {
  228. "key": "alt+4",
  229. "command": "-workbench.action.openEditorAtIndex4"
  230. },
  231. {
  232. "key": "ctrl+5",
  233. "command": "workbench.action.openEditorAtIndex5"
  234. },
  235. {
  236. "key": "alt+5",
  237. "command": "-workbench.action.openEditorAtIndex5"
  238. },
  239. {
  240. "key": "ctrl+6",
  241. "command": "workbench.action.openEditorAtIndex6"
  242. },
  243. {
  244. "key": "alt+6",
  245. "command": "-workbench.action.openEditorAtIndex6"
  246. },
  247. {
  248. "key": "ctrl+7",
  249. "command": "workbench.action.openEditorAtIndex7"
  250. },
  251. {
  252. "key": "alt+7",
  253. "command": "-workbench.action.openEditorAtIndex7"
  254. },
  255. {
  256. "key": "ctrl+8",
  257. "command": "workbench.action.openEditorAtIndex8"
  258. },
  259. {
  260. "key": "alt+8",
  261. "command": "-workbench.action.openEditorAtIndex8"
  262. },
  263. {
  264. "key": "ctrl+9",
  265. "command": "workbench.action.openEditorAtIndex9"
  266. },
  267. {
  268. "key": "alt+9",
  269. "command": "-workbench.action.openEditorAtIndex9"
  270. },
  271. {
  272. "key": "ctrl+k",
  273. "command": "vscode-neovim.ctrl-b",
  274. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  275. },
  276. // {
  277. // "key": "ctrl+b",
  278. // "command": "-vscode-neovim.ctrl-b",
  279. // "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  280. // },
  281. {
  282. "key": "ctrl+shift+alt+d",
  283. "command": "vscode-neovim.ctrl-d",
  284. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  285. },
  286. {
  287. "key": "ctrl+d",
  288. "command": "-vscode-neovim.ctrl-d",
  289. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  290. },
  291. {
  292. "key": "ctrl+d",
  293. "command": "-vscode-neovim.send",
  294. "when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.mode == 'insert'"
  295. },
  296. {
  297. "key": "tab",
  298. "command": "workbench.action.interactivePlayground.arrowDown",
  299. "when": "interactivePlaygroundFocus && !editorTextFocus"
  300. },
  301. {
  302. "key": "down",
  303. "command": "-workbench.action.interactivePlayground.arrowDown",
  304. "when": "interactivePlaygroundFocus && !editorTextFocus"
  305. },
  306. {
  307. "key": "shift+tab",
  308. "command": "workbench.action.interactivePlayground.arrowUp",
  309. "when": "interactivePlaygroundFocus && !editorTextFocus"
  310. },
  311. {
  312. "key": "up",
  313. "command": "-workbench.action.interactivePlayground.arrowUp",
  314. "when": "interactivePlaygroundFocus && !editorTextFocus"
  315. },
  316. {
  317. "key": "ctrl+shift+tab",
  318. "command": "acceptSelectedSuggestion",
  319. "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"
  320. },
  321. {
  322. "key": "tab",
  323. "command": "-acceptSelectedSuggestion",
  324. "when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"
  325. },
  326. {
  327. "key": "/ oem_102",
  328. "command": "editor.action.inlineSuggest.commit",
  329. "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus"
  330. },
  331. {
  332. "key": "tab",
  333. "command": "-editor.action.inlineSuggest.commit",
  334. "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus"
  335. },
  336. {
  337. "key": "tab",
  338. "command": "selectNextSuggestion",
  339. "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  340. },
  341. {
  342. "key": "ctrl+down",
  343. "command": "-selectNextSuggestion",
  344. "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  345. },
  346. {
  347. "key": "ctrl+shift+enter",
  348. "command": "insertNextSuggestion",
  349. "when": "hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
  350. },
  351. {
  352. "key": "tab",
  353. "command": "-insertNextSuggestion",
  354. "when": "hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
  355. },
  356. {
  357. "key": "ctrl+shift+enter",
  358. "command": "insertBestCompletion",
  359. "when": "atEndOfWord && textInputFocus && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
  360. },
  361. {
  362. "key": "tab",
  363. "command": "-insertBestCompletion",
  364. "when": "atEndOfWord && textInputFocus && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
  365. },
  366. {
  367. "key": "shift+tab",
  368. "command": "selectPrevSuggestion",
  369. "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  370. },
  371. {
  372. "key": "up",
  373. "command": "-selectPrevSuggestion",
  374. "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  375. },
  376. {
  377. "key": "ctrl+w",
  378. "command": "-vscode-neovim.send-cmdline",
  379. "when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'"
  380. },
  381. // {
  382. // "key": "ctrl+w",
  383. // "command": "-vscode-neovim.send",
  384. // "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  385. // },
  386. {
  387. "key": "ctrl+w",
  388. "command": "-vscode-neovim.send",
  389. "when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.mode == 'insert'"
  390. },
  391. {
  392. "key": "ctrl+enter",
  393. "command": "insertSnippet",
  394. "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode"
  395. },
  396. {
  397. "key": "tab",
  398. "command": "-insertSnippet",
  399. "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode"
  400. },
  401. {
  402. "key": "ctrl+alt+enter",
  403. "command": "jumpToNextSnippetPlaceholder",
  404. "when": "editorTextFocus && hasNextTabstop && inSnippetMode"
  405. },
  406. {
  407. "key": "tab",
  408. "command": "-jumpToNextSnippetPlaceholder",
  409. "when": "editorTextFocus && hasNextTabstop && inSnippetMode"
  410. },
  411. {
  412. "key": "ctrl+enter",
  413. "command": "editor.emmet.action.expandAbbreviation",
  414. "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
  415. },
  416. {
  417. "key": "tab",
  418. "command": "-editor.emmet.action.expandAbbreviation",
  419. "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
  420. },
  421. {
  422. "key": "ctrl+tab",
  423. "command": "tab",
  424. "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && !interactivePlaygroundFocus"
  425. },
  426. {
  427. "key": "tab",
  428. "command": "-tab",
  429. "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
  430. },
  431. {
  432. "key": "ctrl+tab",
  433. "command": "vscode-neovim.send",
  434. "when": "neovim.recording && !interactivePlaygroundFocus || editorTextFocus && neovim.init && neovim.mode != 'insert'"
  435. },
  436. {
  437. "key": "tab",
  438. "command": "-vscode-neovim.send",
  439. "when": "neovim.recording || editorTextFocus && neovim.init && neovim.mode != 'insert'"
  440. },
  441. {
  442. "key": "ctrl+tab",
  443. "command": "vscode-neovim.complete-selection-cmdline",
  444. "when": "neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace' || !interactivePlaygroundFocus && neovim.mode == 'cmdline_insert'"
  445. },
  446. {
  447. "key": "tab",
  448. "command": "-vscode-neovim.complete-selection-cmdline",
  449. "when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'"
  450. },
  451. {
  452. "key": "ctrl+shift+win",
  453. "command": "togglePeekWidgetFocus",
  454. "when": "referenceSearchVisible || inReferenceSearchEditor && neovim.mode == 'normal'"
  455. },
  456. {
  457. "key": "tab",
  458. "command": "-togglePeekWidgetFocus",
  459. "when": "referenceSearchVisible || inReferenceSearchEditor && neovim.mode == 'normal'"
  460. },
  461. {
  462. "key": "tab",
  463. "command": "selectNextCodeAction",
  464. "when": "codeActionMenuVisible"
  465. },
  466. {
  467. "key": "down",
  468. "command": "-selectNextCodeAction",
  469. "when": "codeActionMenuVisible"
  470. },
  471. {
  472. "key": "down",
  473. "command": "-selectNextSuggestion",
  474. "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  475. },
  476. {
  477. "key": "ctrl+shift+a",
  478. "command": "editor.action.selectAll"
  479. },
  480. {
  481. "key": "ctrl+a",
  482. "command": "-editor.action.selectAll"
  483. },
  484. {
  485. "key": "ctrl+shift+c",
  486. "command": "vscode-neovim.escape",
  487. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && !dirtyDiffVisible && !findWidgetVisible && !inReferenceSearchEditor && !markersNavigationVisible && !notebookCellFocused && !notificationCenterVisible && !parameterHintsVisible && !referenceSearchVisible && neovim.mode == 'normal'"
  488. },
  489. {
  490. "key": "ctrl+c",
  491. "command": "-vscode-neovim.escape",
  492. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && !dirtyDiffVisible && !findWidgetVisible && !inReferenceSearchEditor && !markersNavigationVisible && !notebookCellFocused && !notificationCenterVisible && !parameterHintsVisible && !referenceSearchVisible && neovim.mode == 'normal'"
  493. },
  494. {
  495. "key": "ctrl+shift+c",
  496. "command": "vscode-neovim.escape",
  497. "when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.init && neovim.mode != 'normal'"
  498. },
  499. {
  500. "key": "ctrl+c",
  501. "command": "-vscode-neovim.escape",
  502. "when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.init && neovim.mode != 'normal'"
  503. },
  504. {
  505. "key": "down",
  506. "command": "interactiveEditor.arrowOutDown",
  507. "when": "interactiveEditorFocused && interactiveEditorHasProvider && interactiveEditorInnerCursorLast"
  508. },
  509. {
  510. "key": "down",
  511. "command": "-interactiveEditor.arrowOutDown",
  512. "when": "interactiveEditorFocused && interactiveEditorHasProvider && interactiveEditorInnerCursorLast"
  513. },
  514. {
  515. "key": "down",
  516. "command": "editor.action.selectNextStickyScrollLine",
  517. "when": "stickyScrollFocused"
  518. },
  519. {
  520. "key": "down",
  521. "command": "-editor.action.selectNextStickyScrollLine",
  522. "when": "stickyScrollFocused"
  523. },
  524. {
  525. "key": "tab",
  526. "command": "selectNextSuggestion",
  527. "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
  528. },
  529. {
  530. "key": "down",
  531. "command": "-selectNextSuggestion",
  532. "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
  533. },
  534. {
  535. "key": "tab",
  536. "command": "workbench.statusBar.focusNext",
  537. "when": "statusBarFocused"
  538. },
  539. {
  540. "key": "down",
  541. "command": "-workbench.statusBar.focusNext",
  542. "when": "statusBarFocused"
  543. },
  544. {
  545. "key": "down",
  546. "command": "cursorDown",
  547. "when": "textInputFocus"
  548. },
  549. {
  550. "key": "down",
  551. "command": "-cursorDown",
  552. "when": "textInputFocus"
  553. },
  554. {
  555. "key": "tab",
  556. "command": "list.focusDown",
  557. "when": "listFocus && !inputFocus"
  558. },
  559. {
  560. "key": "down",
  561. "command": "-list.focusDown",
  562. "when": "listFocus && !inputFocus"
  563. },
  564. {
  565. "key": "shift+tab",
  566. "command": "list.focusUp",
  567. "when": "listFocus && !inputFocus"
  568. },
  569. {
  570. "key": "up",
  571. "command": "-list.focusUp",
  572. "when": "listFocus && !inputFocus"
  573. },
  574. {
  575. "key": "ctrl+shift+win",
  576. "command": "workbench.action.quickOpenNavigateNextInEditorPicker",
  577. "when": "inEditorsPicker && inQuickOpen"
  578. },
  579. {
  580. "key": "ctrl+tab",
  581. "command": "-workbench.action.quickOpenNavigateNextInEditorPicker",
  582. "when": "inEditorsPicker && inQuickOpen"
  583. },
  584. {
  585. "key": "ctrl+shift+win",
  586. "command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
  587. "when": "!activeEditorGroupEmpty"
  588. },
  589. {
  590. "key": "ctrl+tab",
  591. "command": "-workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
  592. "when": "!activeEditorGroupEmpty"
  593. },
  594. {
  595. "key": "ctrl+j",
  596. "command": "vscode-neovim.ctrl-j",
  597. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  598. },
  599. {
  600. "key": "ctrl+f",
  601. "command": "-vscode-neovim.ctrl-f",
  602. "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
  603. },
  604. // folding issue, breaks [num](j/k)
  605. {
  606. "command": "cursorDown",
  607. "key": "j",
  608. "when": "editorTextFocus && neovim.mode == normal"
  609. },
  610. {
  611. "command": "cursorUp",
  612. "key": "k",
  613. "when": "editorTextFocus && neovim.mode == normal"
  614. },
  615. {
  616. "command": "cursorDown",
  617. "key": "down",
  618. "when": "editorTextFocus && neovim.mode == normal"
  619. },
  620. {
  621. "command": "cursorUp",
  622. "key": "up",
  623. "when": "editorTextFocus && neovim.mode == normal"
  624. },
  625. {
  626. "command": "editor.toggleFold",
  627. "key": "z a",
  628. "when": "editorTextFocus && neovim.mode == normal"
  629. },
  630. //* center editor window works with extension Center Editor Window
  631. {
  632. "key": "z z",
  633. "command": "center-editor-window.center",
  634. "when": "editorTextFocus && neovim.mode === normal"
  635. },
  636. {
  637. "key": "ctrl+shift+i",
  638. "command": "editor.action.revealDefinition",
  639. "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
  640. },
  641. {
  642. "key": "f12",
  643. "command": "-editor.action.revealDefinition",
  644. "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
  645. },
  646. {
  647. "key": "ctrl+i",
  648. "command": "editor.action.openLink"
  649. },
  650. {
  651. "key": "ctrl+e",
  652. "command": "workbench.view.explorer",
  653. "when": "viewContainer.workbench.view.explorer.enabled"
  654. },
  655. {
  656. "key": "ctrl+shift+e",
  657. "command": "-workbench.view.explorer",
  658. "when": "viewContainer.workbench.view.explorer.enabled"
  659. },
  660. {
  661. "key": "ctrl+p",
  662. "command": "workbench.action.quickOpen"
  663. },
  664. {
  665. "key": "ctrl+e",
  666. "command": "-workbench.action.quickOpen"
  667. },
  668. {
  669. "key": "ctrl+k ctrl+f",
  670. "command": "-editor.action.formatSelection",
  671. "when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
  672. },
  673. {
  674. "key": "ctrl+w",
  675. "command": "workbench.action.closeActiveEditor",
  676. "when": "!editorTextFocus && !filesExplorerFocus && !searchViewletFocus && !terminalFocus"
  677. },
  678. {
  679. "key": "ctrl+w q",
  680. "command": "-workbench.action.closeActiveEditor",
  681. "when": "!editorTextFocus && !filesExplorerFocus && !searchViewletFocus && !terminalFocus"
  682. },
  683. {
  684. "key": "ctrl+shift+w 7",
  685. "command": "vscode-neovim.send",
  686. "when": "editorTextFocus && neovim.ctrlKeysNormal.w && neovim.init && neovim.mode != 'insert' && editorLangId not in 'neovim.editorLangIdExclusions'"
  687. },
  688. {
  689. "key": "ctrl+w",
  690. "command": "-vscode-neovim.send",
  691. "when": "editorTextFocus && neovim.ctrlKeysNormal.w && neovim.init && neovim.mode != 'insert' && editorLangId not in 'neovim.editorLangIdExclusions'"
  692. },
  693. {
  694. "key": "ctrl+shift+w 8",
  695. "command": "vscode-neovim.send-cmdline",
  696. "when": "neovim.init && neovim.mode == 'cmdline'"
  697. },
  698. {
  699. "key": "ctrl+w",
  700. "command": "-vscode-neovim.send-cmdline",
  701. "when": "neovim.init && neovim.mode == 'cmdline'"
  702. },
  703. {
  704. "key": "ctrl+w g",
  705. "command": "workbench.action.closeGroup",
  706. "when": "activeEditorGroupEmpty && multipleEditorGroups"
  707. },
  708. {
  709. "key": "ctrl+w",
  710. "command": "-workbench.action.closeGroup",
  711. "when": "activeEditorGroupEmpty && multipleEditorGroups"
  712. },
  713. {
  714. "key": "ctrl+w",
  715. "command": "workbench.action.closeActiveEditor"
  716. },
  717. {
  718. "key": "ctrl+w",
  719. "command": "-workbench.action.closeActiveEditor"
  720. },
  721. {
  722. "key": "ctrl+shift+w -",
  723. "command": "workbench.action.decreaseViewHeight",
  724. "when": "!editorTextFocus"
  725. },
  726. {
  727. "key": "ctrl+w -",
  728. "command": "-workbench.action.decreaseViewHeight",
  729. "when": "!editorTextFocus"
  730. },
  731. {
  732. "key": "ctrl+shift+w shift+=",
  733. "command": "workbench.action.decreaseViewWidth",
  734. "when": "!editorTextFocus"
  735. },
  736. {
  737. "key": "ctrl+w unknown",
  738. "command": "-workbench.action.decreaseViewWidth",
  739. "when": "!editorTextFocus"
  740. },
  741. {
  742. "key": "ctrl+shift+w 0",
  743. "command": "workbench.action.increaseViewHeight",
  744. "when": "!editorTextFocus"
  745. },
  746. {
  747. "key": "ctrl+w unknown",
  748. "command": "-workbench.action.increaseViewHeight",
  749. "when": "!editorTextFocus"
  750. },
  751. {
  752. "key": "ctrl+shift+w 9",
  753. "command": "workbench.action.increaseViewWidth",
  754. "when": "!editorTextFocus"
  755. },
  756. {
  757. "key": "ctrl+w unknown",
  758. "command": "-workbench.action.increaseViewWidth",
  759. "when": "!editorTextFocus"
  760. },
  761. {
  762. "key": "ctrl+shift+w 6",
  763. "command": "vscode-neovim.send",
  764. "when": "editorTextFocus && neovim.ctrlKeysInsert.w && neovim.init && neovim.mode == 'insert' && editorLangId not in 'neovim.editorLangIdExclusions'"
  765. },
  766. {
  767. "key": "ctrl+w",
  768. "command": "-vscode-neovim.send",
  769. "when": "editorTextFocus && neovim.ctrlKeysInsert.w && neovim.init && neovim.mode == 'insert' && editorLangId not in 'neovim.editorLangIdExclusions'"
  770. }
  771. ]
  772.  
  773.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement