With Sublime Text, is it possible to disable increase/decrease font size when using control and mouse? I found the key bindings for ctrl and +/-:
{ "keys": ["ctrl++"], "command": "increase_font_size" },
{ "keys": ["ctrl+="], "command": "increase_font_size" },
{ "keys": ["ctrl+-"], "command": "decrease_font_size" },
If I wanted to disable those, I could set the command to 'null', but how do you disable increase_font_size and decrease_font_size when using ctrl and mouse wheel? I'm on ubuntu if it is an OS setting.
Best Answer
Found help on the sublime forums, should have looked there first. But I will post a solution in case anyone wants to do the same.
I am using linux, but answer similar for windows. Copy 'Default (Linux).sublime-mousemap' from '~/.config/sublime-text-2/Packages/Default' into '...Packages/User':
Remove everything except font settings and change the command to null:
Copy it into your User folder so settings don't reset after an update.
Update for Sublime Text 3: This works with sublime text 3 as well, you'll just have to create the file manually subl ~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-mousemap