Home Download Buy Blog Forum Support

Is it possible to use the Windows key in a key binding?

Is it possible to use the Windows key in a key binding?

Postby awgy on Wed Feb 23, 2011 7:18 pm

Quick question from a Sublime newcomer: is it possible to use the Windows key in a key binding? I'm a long-time Mac user, and I'm needing to do some work on Windows 7. I'm using an Apple keyboard on Windows and I keep trying to use ⌘A to select all text (along with others like ⌘C, ⌘V, ⌘X, etc.). Since ⌘ acts as the Windows key, I'd like to set up Win+A and so on within Sublime, if possible. Anyone have any ideas?
awgy
 
Posts: 2
Joined: Wed Feb 23, 2011 7:12 pm

Re: Is it possible to use the Windows key in a key binding?

Postby jps on Wed Feb 23, 2011 9:18 pm

Yep: Just use "super" as the modifier name, for example:

Code: Select all
   { "keys": ["super+a"], "command": "select_all" }
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], Liquidmantis and 47 guests