:apple: Insert newline with alt-enter and shift-enter

Closes #3588