I have this keyboard command:
{"keys":["alt+v"], "command":"toggle_setting", "args":{"setting":"preview_on_click"}},
But when I press alt+v
nothing is happening, setting stays the same.
I have this keyboard command:
{"keys":["alt+v"], "command":"toggle_setting", "args":{"setting":"preview_on_click"}},
But when I press alt+v
nothing is happening, setting stays the same.
toggle_setting
toggles a setting for the currently focused file, it doesn’t work for application settings. I don’t think there’s a built-in command that does what you want, you’d need a plugin to do this.
I guess I will have to learn to to write plugins then. Because there are some things that I need, but can’t find them in packages.