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

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

448 active golfers, 2417 entries

Solutions by @touhoueurobeat:
17
#142 - aggums / @touhoueurobeat

05/25/2019 at 09:54PM

18
#>205 - aggums / @touhoueurobeat

05/25/2019 at 09:53PM

20
#>227 - aggums / @touhoueurobeat

05/25/2019 at 09:52PM

21
#>243 - aggums / @touhoueurobeat

05/25/2019 at 09:51PM

22
#>257 - aggums / @touhoueurobeat

05/25/2019 at 09:51PM

23
#>268 - aggums / @touhoueurobeat

05/25/2019 at 09:47PM

24
#>279 - aggums / @touhoueurobeat

05/25/2019 at 09:44PM

25
#>294 - aggums / @touhoueurobeat

05/25/2019 at 09:44PM

26
#>314 - aggums / @touhoueurobeat

05/25/2019 at 09:43PM

27
#>325 - aggums / @touhoueurobeat

05/25/2019 at 09:42PM

28
#>345 - aggums / @touhoueurobeat

05/25/2019 at 09:41PM

32
#>386 - aggums / @touhoueurobeat

05/25/2019 at 09:39PM

33
#>387 - aggums / @touhoueurobeat

05/25/2019 at 09:39PM

34
#>390 - aggums / @touhoueurobeat

05/25/2019 at 09:37PM

37
#>397 - aggums / @touhoueurobeat

05/25/2019 at 09:34PM

41
#>406 - aggums / @touhoueurobeat

05/25/2019 at 09:32PM

44
#>410 - aggums / @touhoueurobeat

05/25/2019 at 09:28PM

46
#>417 - aggums / @touhoueurobeat

05/25/2019 at 09:04PM