How do you replace text with a newline in Vim?
:%s/; /;\r/g
In the replacement part, use \r to insert a newline.
:%s/; /;\r/g
In the replacement part, use \r to insert a newline.
<C-v>jjr*
Enter visual block with , select a column with j, press r followed by the replacement character.
r{char} in visual mode
In visual mode, pressing r followed by a character replaces every character in the selection with that single character.
R
Replace mode lets you type over existing text one character at a time, like the "Insert" key behavior in traditional editors.