Is there an official way to unbind the default key binding on ST4? If not, which one is better?
{ "keys": ["ctrl+-"], "command": "noop" }
Or just remove the command attribute
{ "keys": ["ctrl+-"]}
Is there an official way to unbind the default key binding on ST4? If not, which one is better?
{ "keys": ["ctrl+-"], "command": "noop" }
Or just remove the command attribute
{ "keys": ["ctrl+-"]}
Hi, do you mean the only way is { "keys": ["ctrl+-"], "command": "noop" }?
But is the command noop really supported? I cannot find this command on the official documentation…
It was added as of a certain ST version.
I cannot find this command on the official documentation…
I don’t think (any) commands are documented.
The noop command was added in ST 4134
So if you are using older ST builds, you would have to create your own noop command.
import sublime_plugin
class NoopCommand(sublime_plugin.ApplicationCommand):
def run(self) -> None:
pass