Delete-line doesn't work with atom-text-editor


#1

Got this depreciation on my keymapping;
Use the atom-text-editor tag instead of the editor class.

When I change my keymap to use that then my delete-line stops working.

keymap:

'.platform-darwin .editor':
  'cmd-d': 'editor:delete-line'

This doesn’t work (stops the depreciation warning):

'.platform-darwin .atom-text-editor':
  'cmd-d': 'editor:delete-line'

#2

It’s saying to use the atom-text-editor tag instead of the class. Here’s what will work (note the missing period):

'.platform-darwin atom-text-editor':
  'cmd-d': 'editor:delete-line'

#3

That worked, damn if only I wouldn’t have been a typical end user and read the entire message. I did what I hate end users doing, not reading lol. Thanks.