Home Download Buy Blog Forum Support

Any way to bind mouse keys to actions?

Any way to bind mouse keys to actions?

Postby xxchadxx on Tue Feb 08, 2011 4:39 am

Hello,

Sorry if this has been addressed before, but I searched through the forums and couldn't find anything.

Anyway, I'm new to Sublime Text and I love it so far. I was wondering if there was a way to map special mouse buttons to actions? For example, I have back / forward buttons on my mouse (for easy navigation of web pages) and it would be awesome to bind those to switching between next and previous open files.

Does anyone know how to do this?

Thanks in advance.

~ Chad
xxchadxx
 
Posts: 4
Joined: Tue Feb 08, 2011 4:37 am

Re: Any way to bind mouse keys to actions?

Postby jps on Tue Feb 08, 2011 12:06 pm

There isn't a way to do it yet, no. May I suggest submitting the idea to http://sublimetext.userecho.com/?
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Any way to bind mouse keys to actions?

Postby charlesroper on Tue Feb 08, 2011 12:58 pm

You could do it with autohotkey. Just setup bindings that are restricted to sublime and map to the shortcuts for changing tabs:

http://www.autohotkey.com/docs/KeyList.htm
charlesroper
 
Posts: 107
Joined: Thu Feb 18, 2010 7:30 am

Re: Any way to bind mouse keys to actions?

Postby xxchadxx on Fri Feb 11, 2011 6:20 am

Sounds good Jon, thanks. Filed it there:
http://sublimetext.userecho.com/feedbac ... tch-files/
xxchadxx
 
Posts: 4
Joined: Tue Feb 08, 2011 4:37 am


Return to General Discussion

Who is online

Users browsing this forum: Dirhael, Exabot [Bot], Yahoo [Bot] and 22 guests