Skip to content

Instantly share code, notes, and snippets.

@eighteyes
Created September 18, 2012 17:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eighteyes/3744420 to your computer and use it in GitHub Desktop.
Save eighteyes/3744420 to your computer and use it in GitHub Desktop.
Enable Mouse Wheel Zoom in SublimeText 2 on MacOSX (Place in User Folder)
[
{ "button": "scroll_down", "modifiers": ["ctrl"], "command": "increase_font_size" },
{ "button": "scroll_up", "modifiers": ["ctrl"], "command": "decrease_font_size" }
]
@souhaiebtar
Copy link

for OSx, the only file name that worked for me is Default.sublime-mousemap,under
~/Library/Application Support/Sublime Text 3/Packages/User

[ 
{ "button": "scroll_up", "modifiers": ["command"], "command": "increase_font_size" }, 
{ "button": "scroll_down", "modifiers": ["command"], "command": "decrease_font_size" } 
]

this will ⌘ + scroll mouse, zoom in and zoom out

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