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 4dcd7b572c8e510001000005

Interweave two blocks of text

Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?

Start file
one
two
three
four
five
six
seven
eight
nine
ten
1
2
3
4
5
6
7
8
9
10
End file
one	1
two	2
three	3
four	4
five	5
six	6
seven	7
eight	8
nine	9
ten	10

View Diff

1,20c1,10
< one
< two
< three
< four
< five
< six
< seven
< eight
< nine
< ten
< 1
< 2
< 3
< 4
< 5
< 6
< 7
< 8
< 9
< 10
---
> one	1
> two	2
> three	3
> four	4
> five	5
> six	6
> seven	7
> eight	8
> nine	9
> ten	10

Solutions by @GavinKoeng:

Unlock 14 remaining solutions by signing in and submitting your own entry
Created by: @mwhooker

217 active golfers, 692 entries

Solutions by @GavinKoeng:
15
#34 - Gavin / @GavinKoeng

07/09/2026 at 01:57AM

16
#>65 - Gavin / @GavinKoeng

07/09/2026 at 01:57AM

17
#>134 - Gavin / @GavinKoeng

07/09/2026 at 01:56AM

18
#>152 - Gavin / @GavinKoeng

07/09/2026 at 01:56AM

19
#>172 - Gavin / @GavinKoeng

07/09/2026 at 01:56AM

20
#>182 - Gavin / @GavinKoeng

07/09/2026 at 01:56AM

21
#>187 - Gavin / @GavinKoeng

07/09/2026 at 01:56AM

22
#>190 - Gavin / @GavinKoeng

07/09/2026 at 01:55AM

23
#>196 - Gavin / @GavinKoeng

07/09/2026 at 01:55AM

28
#>208 - Gavin / @GavinKoeng

07/09/2026 at 01:55AM

31
#>213 - Gavin / @GavinKoeng

07/09/2026 at 01:54AM

32
#>213 - Gavin / @GavinKoeng

07/09/2026 at 01:54AM

33
#>213 - Gavin / @GavinKoeng

07/09/2026 at 01:54AM

47
#>217 - Gavin / @GavinKoeng

07/09/2026 at 01:52AM