Sublime Forum

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

#1

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?

0 Likes

#2

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

	{ "keys": "super+a"], "command": "select_all" }
2 Likes

#3

But what about for Linux? Using super+ as a modifier there doesn’t seem to have any affect when using Linux with a Microsoft or Apple keyboard. Does the Linux keymap even support ‘super’?

0 Likes

#4

Yeah I was wondering about it for a while and searched for it. It is “super” easy. finally I can rest easy after resolving Windows Key Not Working error. Thanks guys have a good one.

0 Likes