-1

I've made the switch from kate to Github's Atom editor and I'm enjoying all the plugins and extras it has. One thing that I can't figure out however is to make use of the linux "super key" in atom's key bindings (Also known as the Windows key). Atom keeps its key bindings in .cson files and I haven't been able to find any reference to super. Anyone know how to do this?

neanderslob
  • 2,633
  • 6
  • 40
  • 82
  • Why did you tag the question with `coffeescript`? – frhd Apr 24 '15 at 07:01
  • @frhd fair question. The reason I used the tag is because CSON (the notation containing key-binding customization here) is the object notation for coffeescript. As CSON is a coffeescript derivative (and not especially widely used in its own right) I figured it would be worth asking the coffeescript community as well. Sound reasonable? – neanderslob Apr 24 '15 at 07:22

1 Answers1

2

I'm not sure if this will work with a windows keyboard, I'm using an apple keyboard, but cmd seems to work as the Super key for me.

In my keymap file, I enter code like this:

 'atom-workspace':
   'cmd-i': 'core:move-up'
   'cmd-k': 'core:move-down'
   'ctrl-d':'editor:delete-to-beginning-of-line'

Hope this helps.

M-00Zero
  • 56
  • 6