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

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

211 active golfers, 631 entries

Solutions by @scottrick49:
20
#176 - Scott Atkins / @scottrick49

07/29/2021 at 01:01PM

21
#>182 - Scott Atkins / @scottrick49

07/29/2021 at 01:01PM

22
#>185 - Scott Atkins / @scottrick49

07/29/2021 at 01:00PM

22
#>185 - Scott Atkins / @scottrick49

07/29/2021 at 01:00PM

23
#>191 - Scott Atkins / @scottrick49

07/29/2021 at 12:59PM

24
#>193 - Scott Atkins / @scottrick49

07/29/2021 at 12:58PM

25
#>196 - Scott Atkins / @scottrick49

07/29/2021 at 12:57PM

26
#>200 - Scott Atkins / @scottrick49

07/29/2021 at 12:54PM

26
#>200 - Scott Atkins / @scottrick49

07/29/2021 at 12:58PM

29
#>203 - Scott Atkins / @scottrick49

07/29/2021 at 12:52PM

30
#>207 - Scott Atkins / @scottrick49

07/29/2021 at 12:53PM

34
#>208 - Scott Atkins / @scottrick49

07/29/2021 at 12:51PM

40
#>210 - Scott Atkins / @scottrick49

07/29/2021 at 12:47PM

44
#>210 - Scott Atkins / @scottrick49

07/29/2021 at 12:49PM

45
#>210 - Scott Atkins / @scottrick49

07/29/2021 at 12:40PM

112
#>211 - Scott Atkins / @scottrick49

07/29/2021 at 12:40PM