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

443 active golfers, 2378 entries

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

05/25/2019 at 09:54PM

18
#>202 - aggums / @touhoueurobeat

05/25/2019 at 09:53PM

20
#>224 - aggums / @touhoueurobeat

05/25/2019 at 09:52PM

21
#>240 - aggums / @touhoueurobeat

05/25/2019 at 09:51PM

22
#>254 - aggums / @touhoueurobeat

05/25/2019 at 09:51PM

23
#>265 - aggums / @touhoueurobeat

05/25/2019 at 09:47PM

24
#>276 - aggums / @touhoueurobeat

05/25/2019 at 09:44PM

25
#>291 - aggums / @touhoueurobeat

05/25/2019 at 09:44PM

26
#>311 - aggums / @touhoueurobeat

05/25/2019 at 09:43PM

27
#>322 - aggums / @touhoueurobeat

05/25/2019 at 09:42PM

28
#>342 - aggums / @touhoueurobeat

05/25/2019 at 09:41PM

32
#>383 - aggums / @touhoueurobeat

05/25/2019 at 09:39PM

33
#>384 - aggums / @touhoueurobeat

05/25/2019 at 09:39PM

34
#>387 - aggums / @touhoueurobeat

05/25/2019 at 09:37PM

37
#>394 - aggums / @touhoueurobeat

05/25/2019 at 09:34PM

41
#>403 - aggums / @touhoueurobeat

05/25/2019 at 09:32PM

44
#>406 - aggums / @touhoueurobeat

05/25/2019 at 09:28PM

46
#>412 - aggums / @touhoueurobeat

05/25/2019 at 09:04PM