1 possible answer(s) on “How do I set a command to delete current line?

  1. I think this is a specificity issue – your custom keybinding isn’t overriding the one set in find-and-replace because the selector you’re using (atom-text-editor) is less specific than the one defined in find-and-replace.

    Try this instead:

    '.platform-win32 atom-text-editor, .platform-linux atom-text-editor':
      'ctrl-d': 'editor:delete-line'

    Does that work for you?