In sublime no, in autohotkey yes…
Just create a hotkey binding when sublime is current active window and done
I do this a lot and combining autohotkey + sublime is just pure heaven there’s no limits lol…
Examples, I wanted to zoom in/out with mouse wheel, but sublime doesn’t allow mousewheel keybindings so? autohotkey ftw!
;=========================================================
;SUBLIME ZOOMIN / ZOOMOUT
;=========================================================
;Ctrl + Mousewheel up
~^~WheelUp::
IfWinActive, ahk_class SKMainWindowClass
Send !{=}
return
;Ctrl + Mousewheel down
~^~WheelDown::
IfWinActive, ahk_class SKMainWindowClass
Send !{-}
return
To do what gpfsmurf said you would do this…
~F10::
IfWinActive, ahk_class SKMainWindowClass
Send {F4}{F5}{F6}
return
Btw if you are wondering why the “~” is there so it doesn’t cancel out the hotkey functionality in any other program
so F10 would work normally in any other program but when in sublime it will send F4,F5,F6
Another one which one member requested which is a good example is “Triple-Click-to-SElect-Lines”, obviously thru sublime api is impossible to do this (at least atm) but with autohotkey is very possible like I posted the script.
My recommendation, use autohotkey + sublime = happy camper