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?

New contributor
Emma is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

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 .