Home Download Buy Blog Forum Support

Remap Ctrl + mouse wheel

Remap Ctrl + mouse wheel

Postby Freakmeister on Sun Aug 10, 2014 4:47 pm

Hello there. I'm using Sublime Text 3, and I want to change Ctrl + mouse wheel to be fast scroller instead of font sizer. :) I believe I need this commands:

Code: Select all
{ "keys": ["pageup"], "command": "move", "args": {"by": "pages", "forward": false} },
{ "keys": ["pagedown"], "command": "move", "args": {"by": "pages", "forward": true} },


But what's the right key-words for mouse wheel up and down in Sublime? Thanks.
Freakmeister
 
Posts: 4
Joined: Sat Oct 12, 2013 2:28 pm

Re: Remap Ctrl + mouse wheel

Postby valerij_ on Sun Aug 10, 2014 9:00 pm

it would be
Code: Select all
   { "button": "scroll_down", "modifiers": ["ctrl"], "command": "move", "args": {"by": "pages", "forward": false} },
   { "button": "scroll_up", "modifiers": ["ctrl"], "command": "move", "args": {"by": "pages", "forward": true} }


and it goes to `Packages/User/Default.sublime-mousemap`
valerij_
 
Posts: 41
Joined: Fri Feb 14, 2014 5:59 pm

Re: Remap Ctrl + mouse wheel

Postby Freakmeister on Sun Aug 10, 2014 9:57 pm

Yup, this worked. But it's:

Code: Select all
[
   { "button": "scroll_down", "modifiers": ["ctrl"], "command": "move", "args": {"by": "pages", "forward": true} },
   { "button": "scroll_up", "modifiers": ["ctrl"], "command": "move", "args": {"by": "pages", "forward": false} }
]

Thanks!
Freakmeister
 
Posts: 4
Joined: Sat Oct 12, 2013 2:28 pm


Return to Technical Support

Who is online

Users browsing this forum: movax and 27 guests