Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. 480 created this gist Mar 12, 2020.
    18 changes: 18 additions & 0 deletions Ctrl+C=copy Ctrl+Alt+C=interrupt VSCode terminal on Mac.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    ## VSCode

    1. Open Command Palette `⇧⌘P` or `F1`
    1. Select `Preferences: Open Keyboard Shortcuts (JSON)`
    1. `keybindings.json` will opened
    1. Add below
    ```
    {
    "key": "ctrl+alt+c",
    "command": "workbench.action.terminal.sendSequence",
    "args": {
    "text": "\u0003"
    },
    "when": "terminalFocus"
    }
    ```
    1. That's all
    1. Try it on the VSCode Terminal when you're running any node.js app