There is something I cannot currently fix. I like to use different plugins, and it is a terrible idea that each plugin suggests me to use some particular keybindings. The hell starts at
- beautify latex is Ctrl+Alt+L
- beautify C++ is Ctrl+Alt+A
- beautify Ruby is Ctrl+Alt+K
Of course, I can add some new ones, but disabling is currently not straight-forward. At least I don’t feel obligable to inspect and book-keep all new plugins whether they pour their keybindings in my config.
There are 3 Questions:
-
Is there any way to set Ctrl+Alt+A as my default and let sublime decide on the context which commands to execute. I played around with several versions of
{ “keys”: [“ctrl+alt+a”],
“command”: “beautify_command_for_cpp”,
“context”: [
{ “key”: “selector”, “operator”: “equal”, “operand”: “source.c++” }
]
},
{ “keys”: [“ctrl+alt+a”],
“command”: “beautify_command_for_latex”,
“context”: [
{ “key”: “selector”, “operator”: “equal”, “operand”: “source.latex” }
]
},
without any success.
-
can I some use 1. to be executed when saving the file?
-
Plugins are currently telling me, which keybindings I am supposed to use. There are conflicts with my custom keybindings. Using “Preferences/Package Settings / / Keybindings-Default”
I can literally see these keybindings I do not want or at least not at that particular keystroke combination. But I cannot edit this file. And it would be tedious to extract each package and edit them (Good luck with updating them). There should be an option to disable all default keybindings from a package.
How do you deal with these issues?
edit: the software discourse obviously discovered a new of counting 1., 1., 2., I cannot change it, but I promise I can count.