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

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

413 active golfers, 2169 entries

Solutions by @sooqua:
16
#15 - sooqua / @sooqua

08/08/2019 at 07:35PM

17
#>134 - sooqua / @sooqua

08/08/2019 at 07:34PM

18
#>188 - sooqua / @sooqua

08/08/2019 at 07:33PM

20
#>206 - sooqua / @sooqua

08/08/2019 at 07:33PM

21
#>220 - sooqua / @sooqua

08/08/2019 at 07:32PM

22
#>235 - sooqua / @sooqua

08/08/2019 at 07:32PM

23
#>246 - sooqua / @sooqua

08/08/2019 at 07:30PM

24
#>257 - sooqua / @sooqua

08/08/2019 at 07:30PM

25
#>270 - sooqua / @sooqua

08/08/2019 at 07:29PM

26
#>290 - sooqua / @sooqua

08/08/2019 at 07:28PM

27
#>299 - sooqua / @sooqua

08/08/2019 at 07:28PM

29
#>338 - sooqua / @sooqua

08/08/2019 at 07:27PM

32
#>357 - sooqua / @sooqua

08/08/2019 at 07:26PM

33
#>358 - sooqua / @sooqua

08/08/2019 at 07:26PM

34
#>361 - sooqua / @sooqua

08/08/2019 at 07:26PM

37
#>368 - sooqua / @sooqua

08/08/2019 at 07:24PM

39
#>372 - sooqua / @sooqua

08/08/2019 at 07:22PM

39
#>372 - sooqua / @sooqua

08/08/2019 at 07:24PM