action_names_for_shortcuts_win
  1. File -> Preferences -> Keyboard Shortcuts (cmd + K cmd + S)
  2. Command Palette -> cmd + shif + p
  3. Quick Open for jumping to files by name -> cmd + P
  4.  
  5. {
  6. "key": "cmd+e",
  7. "command": "workbench.view.explorer",
  8. "when": "viewContainer.workbench.view.explorer.enabled"
  9. } -> Show/Focus explorer panel, or toggle back to focusing the editor panel if focus is currently in explorer
  10. {
  11. "key": "cmd+w",
  12. "command": "workbench.action.closeActiveEditor"
  13. } -> View: Close Editor
  14. {
  15. "key": "cmd+backspace",
  16. "command": "editor.action.deleteLines",
  17. "when": "textInputFocus && !editorReadonly"
  18. } -> Delete Line
  19. {
  20. "key": "cmd+`",
  21. "command": "workbench.action.toggleSidebarVisibility"
  22. } -> Toogle side bar visibility
  23. {
  24. "key": "shift+option+left",
  25. "command": "workbench.action.moveEditorLeftInGroup"
  26. } -> move tab to left
  27. {
  28. "key": "shift+option+right",
  29. "command": "workbench.action.moveEditorRightInGroup"
  30. } -> move tab to right
  31. {
  32. "key": "option+right",
  33. "command": "workbench.action.nextEditor"
  34. } -> move editor for next tab
  35. {
  36. "key": "option+left",
  37. "command": "workbench.action.previousEditor"
  38. } -> move editor for previous tab
  39. {
  40. "key": "cmd+d",
  41. "command": "editor.action.copyLinesDownAction",
  42. "when": "editorTextFocus && !editorReadonly"
  43. } -> duplicate line
  44. {
  45. "key": "ctrl+shift+option+right",
  46. "command": "workbench.action.moveEditorToNextGroup"
  47. } -> split and move the editor to right group of splitted tabs
  48. {
  49. "key": "ctrl+shift+option+left",
  50. "command": "workbench.action.moveEditorToPreviousGroup"
  51. } -> split and move the editor to left group of splitted tabs
  52. {
  53. "key": "ctrl+option+left",
  54. "command": "workbench.action.focusLeftGroup"
  55. } -> move editor to left splitted window
  56. {
  57. "key": "ctrl+option+right",
  58. "command": "workbench.action.focusRightGroup"
  59. } -> move editor to right splitted window
  60. {
  61. "key": "ctrl+shift+e",
  62. "command": "workbench.action.joinAllGroups"
  63. } -> Join All Editor Groups, Join All splitted Groups
  64. {
  65. "key": "cmd+shift+oem_4",
  66. "command": "workbench.action.openPreviousRecentlyUsedEditor"
  67. } -> open previous recently Used Editor
  68. {
  69. "key": "cmd+shift+oem_6",
  70. "command": "workbench.action.openNextRecentlyUsedEditor"
  71. } -> open Next recently Used Editor
  72. {
  73. "key": "cmd+oem_6",
  74. "command": "workbench.action.navigateForward",
  75. "when": "canNavigateForward"
  76. } -> go forwared where your cursor was
  77. {
  78. "key": "cmd+oem_4",
  79. "command": "workbench.action.navigateBack",
  80. "when": "canNavigateBack"
  81. } -> go back where your cursor was
  82. {
  83. "key": "ctrl+shift+up",
  84. "command": "editor.action.moveLinesUpAction",
  85. "when": "editorTextFocus && !editorReadonly"
  86. } -> move line up
  87. {
  88. "key": "ctrl+shift+down",
  89. "command": "editor.action.moveLinesDownAction",
  90. "when": "editorTextFocus && !editorReadonly"
  91. } -> move line down
  92. {
  93. "key": "a",
  94. "command": "explorer.newFile",
  95. "when": "filesExplorerFocus && !inputFocus"
  96. } -> create new file in explorer
  97.  
  98. cmd + k -> starts a lot of new shortcuts
  99. space -> Open selected file for editing, but keep focus in explorer
  100. cmd + arrow down -> Opens the file and moves your typing cursor into the editor.
  101.  
  102. Toggle Minimap: cmd + shift + p -> View: Toggle Minimap
  103. Toggle Breadcrumbs: cmd + shift + p -> View: Toggle Breadcrumbs
Pasted 2026-10-13 14:35:19

Short link: