IDE

현재 사용중인 shortcut keymap

꼰딩 2024. 4. 8. 13:34

vscdoe

webstorm

Terminal창: command + 1

vscode - View: Toggle Terminal

webstorm - Tool Windows -> Terminal

Project창: command + 2

vscode - View: Show Explorer, View: Toggle Primary Side Bar Visibility (viewContainer.workbench.view.explorer.enabled)

webstorm - Tool Windows -> Project

Commit창: command +3

vscode - View: Show Source Control, View: Toggle Primary Side Bar Visibility (workbench.scm.active)

keybindings.json

// 키 바인딩을 이 파일에 넣어서 기본값 재정의auto[]
[
  {
    "key": "cmd+1",
    "command": "-workbench.action.focusFirstEditorGroup"
  },
  {
    "key": "ctrl+shift+[Backquote]",
    "command": "-workbench.action.terminal.new",
    "when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
  },
  {
    "key": "shift+cmd+k",
    "command": "workbench.action.positionPanelRight"
  },
  {
    "key": "shift+cmd+j",
    "command": "workbench.action.positionPanelBottom"
  },
  {
    "key": "shift+cmd+j",
    "command": "-workbench.action.search.toggleQueryDetails",
    "when": "inSearchEditor || searchViewletFocus"
  },
  {
    "key": "shift+cmd+k",
    "command": "-editor.action.deleteLines",
    "when": "textInputFocus && !editorReadonly"
  },
  {
    "key": "cmd+1",
    "command": "-workbench.action.toggleSidebarVisibility",
    "when": "explorerViewletFocus"
  },
  {
    "key": "cmd+1",
    "command": "-workbench.view.explorer",
    "when": "viewContainer.workbench.view.explorer.enabled && !explorerViewletFocus"
  },
  {
    "key": "cmd+1",
    "command": "workbench.action.terminal.toggleTerminal",
    "when": "terminal.active"
  },
  {
    "key": "ctrl+`",
    "command": "-workbench.action.terminal.toggleTerminal",
    "when": "terminal.active"
  },
  {
    "key": "shift+cmd+s",
    "command": "workbench.action.openRecent"
  },
  {
    "key": "ctrl+r",
    "command": "-workbench.action.openRecent"
  },
  {
    "key": "cmd+2",
    "command": "workbench.view.explorer",
    "when": "viewContainer.workbench.view.explorer.enabled && !explorerViewletFocus"
  },
  {
    "key": "cmd+numpad1",
    "command": "-workbench.view.explorer",
    "when": "viewContainer.workbench.view.explorer.enabled && !explorerViewletFocus"
  },
  {
    "key": "cmd+2",
    "command": "workbench.action.toggleSidebarVisibility",
    "when": "explorerViewletFocus"
  },
  {
    "key": "cmd+numpad1",
    "command": "-workbench.action.toggleSidebarVisibility",
    "when": "explorerViewletFocus"
  },
  {
    "key": "cmd+3",
    "command": "workbench.view.scm",
    "when": "workbench.scm.active && activeViewlet != 'workbench.view.scm'"
  },
  {
    "key": "cmd+9",
    "command": "-workbench.view.scm",
    "when": "workbench.scm.active && activeViewlet != 'workbench.view.scm'"
  },
  {
    "key": "cmd+3",
    "command": "workbench.action.toggleSidebarVisibility",
    "when": "activeViewlet == 'workbench.view.scm'"
  },
  {
    "key": "cmd+9",
    "command": "-workbench.action.toggleSidebarVisibility",
    "when": "activeViewlet == 'workbench.view.scm'"
  }
]