Vim - Replace new line
In Vim, we can replace word/character to a new line by using command:
:%s/,/\r/g
Note: we use \r
for new line, not \n
.
Tuan Tran
In Vim, we can replace word/character to a new line by using command:
:%s/,/\r/g
Note: we use \r
for new line, not \n
.