July 25, 2008 · FreeBSD Unix

Vi tips

Replace char with newline :

:s/X/^M/

^M = ctrl-V + m