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
- Place your cursor on the atom you want to replace.
- Press
Ctrl + Enter
(Windows/Linux) orCmd + Enter
(Mac) to insert a new line.
Method 2: Using the Insert
menu
- Place your cursor on the atom you want to replace.
- Go to the
Insert
menu in the top menu bar. - Select
Insert Line Break
(or pressCtrl + Shift + Enter
on Windows/Linux orCmd + Shift + Enter
on Mac).
Method 3: Using the New Line
command
- Place your cursor on the atom you want to replace.
- Open the Command Palette by pressing
Ctrl + Shift + P
(Windows/Linux) orCmd + Shift + P
(Mac). - Type
new line
in the Command Palette and select theNew Line
command. - Press Enter to execute the command.
All of these methods should insert a new line and replace the atom with a blank line.