Hacker News new | ask | show | jobs
by dgc 5649 days ago
:s/1*/\r/g <return>

11 keystrokes but it adds an additional new line, not sure if that would pass the test.

2 comments

bah, the earlier poster got both my methods, oh well, teach me to read.
starting from Ex mode: qaa<return><esc>q25@a