Atom replace with new line

A common request!

To replace an atom with a new line in Atom, you can use the following methods:

Method 1: Using the Ctrl + Enter shortcut

  1. Place your cursor on the atom you want to replace.
  2. Press Ctrl + Enter (Windows/Linux) or Cmd + Enter (Mac) to insert a new line.

Method 2: Using the Insert menu

  1. Place your cursor on the atom you want to replace.
  2. Go to the Insert menu in the top menu bar.
  3. Select Insert Line Break (or press Ctrl + Shift + Enter on Windows/Linux or Cmd + Shift + Enter on Mac).

Method 3: Using the New Line command

  1. Place your cursor on the atom you want to replace.
  2. Open the Command Palette by pressing Ctrl + Shift + P (Windows/Linux) or Cmd + Shift + P (Mac).
  3. Type new line in the Command Palette and select the New Line command.
  4. Press Enter to execute the command.

All of these methods should insert a new line and replace the atom with a blank line.