Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 9v0063d76854000000000249

Paste a column after a column

This task is very common while using multi-cursor. What is the elegant vim way ?

Start file
Names
Donald Knuth
Sebastian Thrun
Peter Norvig
Satoshi Nakamoto
Age
100
50
60
45
End file
Names,Age
Donald Knuth,100
Sebastian Thrun,50
Peter Norvig,60
Satoshi Nakamoto,45

View Diff

1,10c1,5
< Names
< Donald Knuth
< Sebastian Thrun
< Peter Norvig
< Satoshi Nakamoto
< Age
< 100
< 50
< 60
< 45
---
> Names,Age
> Donald Knuth,100
> Sebastian Thrun,50
> Peter Norvig,60
> Satoshi Nakamoto,45

Solutions by @niezx2:

Unlock 16 remaining solutions by signing in and submitting your own entry
Created by: @__ngtrongkha

464 active golfers, 2170 entries

Solutions by @niezx2:
16
#119 - nie_zx / @niezx2

03/14/2023 at 07:54AM

16
#>119 - nie_zx / @niezx2

03/14/2023 at 07:58AM

17
#>172 - nie_zx / @niezx2

03/14/2023 at 07:53AM

18
#>208 - nie_zx / @niezx2

03/14/2023 at 07:52AM

19
#>231 - nie_zx / @niezx2

03/14/2023 at 07:41AM

22
#>280 - nie_zx / @niezx2

03/14/2023 at 07:36AM

23
#>293 - nie_zx / @niezx2

03/14/2023 at 07:27AM

25
#>324 - nie_zx / @niezx2

03/14/2023 at 07:11AM

30
#>344 - nie_zx / @niezx2

03/14/2023 at 07:06AM

34
#>358 - nie_zx / @niezx2

03/14/2023 at 07:03AM

37
#>367 - nie_zx / @niezx2

03/14/2023 at 06:59AM

38
#>374 - nie_zx / @niezx2

03/14/2023 at 06:53AM

39
#>377 - nie_zx / @niezx2

03/14/2023 at 06:27AM

43
#>387 - nie_zx / @niezx2

03/13/2023 at 11:07AM

92
#>448 - nie_zx / @niezx2

03/13/2023 at 11:02AM

184
#>462 - nie_zx / @niezx2

03/13/2023 at 10:47AM