Cmd + backspace to delete a line

This is what rubymine ships with by default and makes a lot more sense than Cmd + Y