Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save 480/79a6ac0a24f72e50511ed9d92ae54468 to your computer and use it in GitHub Desktop.
Save 480/79a6ac0a24f72e50511ed9d92ae54468 to your computer and use it in GitHub Desktop.

VSCode

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

Good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment