This is IT

技術、日常

【VisualStudioCode】Vimの拡張機能を入れたけど、Ctrl+A・Ctrl+C・Ctrl+VのWindowsショートカット機能は残したい

手順

  1. VisualStudioCodeで「Ctrl + Shift + P」を押下
  2. コマンドパレットが開く
  3. Preferences: Open Keyboard Shortcuts を検索
  4. (JSON)の方を選ぶ 5.以下を書き込む
[
  {
    "key": "ctrl+c",
    "command": "editor.action.clipboardCopyAction",
    "when": "textInputFocus"
  },
  {
    "key": "ctrl+v",
    "command": "editor.action.clipboardPasteAction",
    "when": "textInputFocus"
  },
  {
    "key": "ctrl+a",
    "command": "editor.action.selectAll",
    "when": "textInputFocus"
  }
]

ハッピー :)