Enter Vim clean-sheet (vim -u NONE
) and write the following text:
a a
a
a
Go to the beginning of the file, search for a
, go back to the first result and do a search/replace with a*
, repeating it once:
gg*Ncgna*<Esc>.
Mysteriously, a line gets deleted and we end up with:
a* a*
a