Skip to content

Instantly share code, notes, and snippets.

@vonNiklasson
Last active March 7, 2022 13:44
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vonNiklasson/d67ff19aa3c0318d41475adc57457910 to your computer and use it in GitHub Desktop.
Save vonNiklasson/d67ff19aa3c0318d41475adc57457910 to your computer and use it in GitHub Desktop.
Disable scroll zoom in Sublime 3, by Hugh Perkins from https://superuser.com/a/1121238
cat <<EOF>~/.config/sublime-text-3/Packages/User/"Default (Linux).sublime-mousemap"
[
// Change font size with ctrl+scroll wheel
{ "button": "scroll_down", "modifiers": ["ctrl"], "command": "null" },
{ "button": "scroll_up", "modifiers": ["ctrl"], "command": "null" }
]
EOF
@han8909227
Copy link

This works ! Thank you

@vonNiklasson
Copy link
Author

vonNiklasson commented Nov 29, 2017

Glad to hear @han8909227, you're welcome :) If you're a member on superuser.com, make sure to thank Hugh Perkins for the code.

@RheingoldRiver
Copy link

Thank you for this! Came up in a google search just now & is exactly what I needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment