How to substitute something by a line break in vi
by bram
use the normal substitute commands such as:
:%s/oldword/newword/
but use the keyboard shortcut CtrlVCtrlM to create a new-line character
use the normal substitute commands such as:
:%s/oldword/newword/
but use the keyboard shortcut CtrlVCtrlM to create a new-line character