Jørgen
Jørgen

Reputation: 107

Atom editor: How do I change toggle-line-comment in the keymap?

This here is what I come up with this far, but can't get it to work

'.workspace .editor':
  'cmd-7': 'unset!'
  'cmd-7': 'editor:toggle-line-comment'

Upvotes: 2

Views: 1328

Answers (1)

nwinkler
nwinkler

Reputation: 54477

The following works for me in Atom v1.3.2:

'atom-workspace atom-text-editor:not([mini])':
  'cmd-7': 'editor:toggle-line-comments'

Upvotes: 3

Related Questions