I would like to change the Terminal interrupt keyboard shortcut to ideally Command+Shift+C. Just this shortcut solely.
Is there a feasible way to do this?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
The following was created, tested and works for me in macOS High Sierra.
Create the Automator service...
Example AppleScript code:
tell application "System Events" to keystroke "c" using control down
Assigning the keyboard shortcut...
In System Preferences...
System Preferences > Keyboard > Shortcuts > Services add ⇧⌘C (press Shift-Command-C) to the My Terminal Interrupt service, as shown in the image below.
Terminal already uses ⇧⌘C for the Edit menu > Show Colors command, so you'll need to change that to e.g. ^⇧⌘C (Control-Shift-Command-C).
Changing the default keyboard shortcut...
System Preferences > Keyboard > Shortcuts > App Shortcuts
Now when in Terminal and I need to interrupt a running command, I press ⇧⌘C instead of ^C
(or ⌘.) to stop the process.