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 @cozy_sauna:

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

573 active golfers, 2642 entries

Solutions by @cozy_sauna:
14
#40 - cozy_sauna / @cozy_sauna

05/21/2023 at 07:15AM

16
#>160 - cozy_sauna / @cozy_sauna

05/21/2023 at 07:15AM

17
#>213 - cozy_sauna / @cozy_sauna

05/21/2023 at 07:12AM

18
#>260 - cozy_sauna / @cozy_sauna

05/21/2023 at 07:11AM

19
#>292 - cozy_sauna / @cozy_sauna

05/20/2023 at 04:41PM

19
#>292 - cozy_sauna / @cozy_sauna

05/21/2023 at 07:07AM

22
#>356 - cozy_sauna / @cozy_sauna

05/20/2023 at 04:40PM

25
#>406 - cozy_sauna / @cozy_sauna

05/20/2023 at 04:36PM

27
#>422 - cozy_sauna / @cozy_sauna

05/20/2023 at 04:30PM

31
#>431 - cozy_sauna / @cozy_sauna

05/16/2023 at 04:43PM

36
#>455 - cozy_sauna / @cozy_sauna

05/16/2023 at 04:35PM

40
#>473 - cozy_sauna / @cozy_sauna

05/16/2023 at 04:29PM