News for hackers. Stuff that matters.
Re:VS Code can do that? by kazinator on Sunday April 22, 2018 @01:29AM (#16894839)
In Vim: just write the first line. Then iterate on this key sequence:

  YP<Ctrl-A>l<Ctrl-A>
That can be recorded into a register (say "a") with

  qaYP<Ctrl-A>l<Ctrl-A>q
then replayed with @a, and further repeated with @@.

This is nothing new; I was doing this in Vim 20 years ago.

Re:VS Code can do that? by staticassertion on Sunday April 22, 2018 @12:12PM (#16896785)
I'm sure it's not new.