Jay Sullivan
Jay Sullivan

Reputation: 18249

Sublime Text Cancel Current Run Hotkey

In Sublime Text, when I press Ctrl+B, it runs my application. Is there a hotkey to force it to stop running?

I'm debugging some code that often hangs, and Sublime Text ends up completely hanging. I'd like to know what hotkey I can press to stop this.

Upvotes: 1

Views: 7252

Answers (1)

MattDMo
MattDMo

Reputation: 102852

CtrlBreak (Windows/Linux) will cancel a build that is in progress. There is no default key binding for OS X, but you can create your own if you wish. Navigate to Sublime Text -> Preferences -> Key Bindings - User and add the following:

{ "keys": ["super+alt+b"], "command": "exec", "args": {"kill": true} }

If you don't have any custom key bindings yet, make sure to wrap the above with square brackets [].

Upvotes: 6

Related Questions