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 596dd9ca448256000c000011

Array transposition

Transpose two arrays into one.

Start file
[1,2,3,4,5,6,7,8,9,0]
[a,b,c,d,e,f,g,h,i,j]
End file
[1,a,2,b,3,c,4,d,5,e,6,f,7,g,8,h,9,i,0,j]

View Diff

1,2c1
< [1,2,3,4,5,6,7,8,9,0]
< [a,b,c,d,e,f,g,h,i,j]
---
> [1,a,2,b,3,c,4,d,5,e,6,f,7,g,8,h,9,i,0,j]

Solutions by @JanSturm77:

Unlock 25 remaining solutions by signing in and submitting your own entry
Created by: @juancolacelli

427 active golfers, 2271 entries

Solutions by @JanSturm77:
16
#31 - Jan Sturm / @JanSturm77

07/14/2020 at 03:18PM

17
#>156 - Jan Sturm / @JanSturm77

07/14/2020 at 03:11PM

18
#>195 - Jan Sturm / @JanSturm77

07/14/2020 at 03:10PM

19
#>198 - Jan Sturm / @JanSturm77

07/14/2020 at 03:10PM

20
#>213 - Jan Sturm / @JanSturm77

07/14/2020 at 03:09PM

21
#>229 - Jan Sturm / @JanSturm77

07/14/2020 at 03:09PM

22
#>243 - Jan Sturm / @JanSturm77

07/14/2020 at 03:07PM

23
#>256 - Jan Sturm / @JanSturm77

07/14/2020 at 03:06PM

24
#>268 - Jan Sturm / @JanSturm77

07/14/2020 at 03:06PM

25
#>280 - Jan Sturm / @JanSturm77

07/14/2020 at 03:05PM

26
#>301 - Jan Sturm / @JanSturm77

07/14/2020 at 03:05PM

27
#>311 - Jan Sturm / @JanSturm77

07/14/2020 at 03:04PM

28
#>330 - Jan Sturm / @JanSturm77

07/14/2020 at 03:03PM

29
#>348 - Jan Sturm / @JanSturm77

07/14/2020 at 03:03PM

32
#>368 - Jan Sturm / @JanSturm77

07/14/2020 at 03:02PM

33
#>370 - Jan Sturm / @JanSturm77

07/14/2020 at 03:01PM

34
#>372 - Jan Sturm / @JanSturm77

07/14/2020 at 03:00PM

35
#>374 - Jan Sturm / @JanSturm77

07/14/2020 at 03:00PM

37
#>379 - Jan Sturm / @JanSturm77

07/14/2020 at 02:55PM

38
#>380 - Jan Sturm / @JanSturm77

07/14/2020 at 02:54PM

41
#>387 - Jan Sturm / @JanSturm77

07/14/2020 at 02:50PM

45
#>395 - Jan Sturm / @JanSturm77

07/14/2020 at 02:48PM

47
#>398 - Jan Sturm / @JanSturm77

07/14/2020 at 02:47PM

48
#>403 - Jan Sturm / @JanSturm77

07/14/2020 at 02:46PM

50
#>405 - Jan Sturm / @JanSturm77

07/14/2020 at 02:43PM