Add line break
This extension adds two commands:
- "Add new line before selection" (
extension.addNewLineBeforeSelection): adds a new line before every selection.
- "Add new line after selection" (
extension.addNewLineAfterSelection): adds a new line after every selection.
You can use them via the command palette (e.g. Ctrl + Shift + P, "Add new line before selection") or with these two keybindings:
- Ctrl + Up ("Push selection up"):
- Ctrl + Down ("Push selection down"):
If needed, you can rebind these shortcuts with Ctrl + Shift + P, "Open Keyboard Shortcuts" (search for "add new line").