1 2 3 4 5 6 7 8
t{r<Enter> /* replace space with new line */ /---<Enter> 3r= /* replace --- with === */ n /* advance to next match */ . /* repeat */ n /* advance to next match */ v2e /* select something in visual mode */ r= /* replace selection */