Want to use atom-text-editor in keymap but doesn't work


#1

I have a keymap as follows:

'.editor:not(.mini)':
  'shift-enter': 'core:move-right'

However, deprecation cop tells me it should now be

'atom-text-editor':
  'shift-enter': 'core:move-right'

The latter does not work. Any advice?


#2

Have you tried using the Keybinding Resolver (Cmd+. on OS X and Ctrl+. on other platforms)? It will show you what key Atom saw you press and the command that was triggered because of it.