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

559 active golfers, 2559 entries

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

03/14/2023 at 07:54AM

16
#>139 - nie_zx / @niezx2

03/14/2023 at 07:58AM

17
#>198 - nie_zx / @niezx2

03/14/2023 at 07:53AM

18
#>247 - nie_zx / @niezx2

03/14/2023 at 07:52AM

19
#>276 - nie_zx / @niezx2

03/14/2023 at 07:41AM

22
#>338 - nie_zx / @niezx2

03/14/2023 at 07:36AM

23
#>355 - nie_zx / @niezx2

03/14/2023 at 07:27AM

25
#>390 - nie_zx / @niezx2

03/14/2023 at 07:11AM

30
#>415 - nie_zx / @niezx2

03/14/2023 at 07:06AM

34
#>431 - nie_zx / @niezx2

03/14/2023 at 07:03AM

37
#>443 - nie_zx / @niezx2

03/14/2023 at 06:59AM

38
#>451 - nie_zx / @niezx2

03/14/2023 at 06:53AM

39
#>455 - nie_zx / @niezx2

03/14/2023 at 06:27AM

43
#>467 - nie_zx / @niezx2

03/13/2023 at 11:07AM

92
#>541 - nie_zx / @niezx2

03/13/2023 at 11:02AM

184
#>556 - nie_zx / @niezx2

03/13/2023 at 10:47AM