3

On macOS terminal ctrl+C terminates the program running. In Sublime Text, cmd+B runs a program such as Python, Ruby or such.

If I want to terminate a running code, what is the shortcut key in Sublime Text 3 equivalent of ctrl+C?

2

Open Key Bindings from Preferences of Sublime Text or short cut is (cmd ⌘ + ,) and add like:

[
    { "keys": ["ctrl+c"], "command": "cancel_build" },
]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .