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

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

431 active golfers, 2312 entries

Solutions by @anantanni22:
17
#126 - Anant Mishra / @anantanni22

12/12/2018 at 08:01AM

17
#>126 - Anant Mishra / @anantanni22

12/12/2018 at 08:02AM

18
#>196 - Anant Mishra / @anantanni22

12/12/2018 at 07:59AM

20
#>216 - Anant Mishra / @anantanni22

12/12/2018 at 07:58AM

21
#>230 - Anant Mishra / @anantanni22

12/12/2018 at 07:58AM

22
#>245 - Anant Mishra / @anantanni22

12/12/2018 at 07:58AM

23
#>256 - Anant Mishra / @anantanni22

12/12/2018 at 07:57AM

24
#>267 - Anant Mishra / @anantanni22

12/12/2018 at 07:57AM

25
#>282 - Anant Mishra / @anantanni22

12/12/2018 at 07:57AM

26
#>300 - Anant Mishra / @anantanni22

12/12/2018 at 07:57AM

28
#>333 - Anant Mishra / @anantanni22

12/12/2018 at 07:56AM

31
#>369 - Anant Mishra / @anantanni22

12/12/2018 at 07:56AM

32
#>372 - Anant Mishra / @anantanni22

12/12/2018 at 07:54AM

33
#>373 - Anant Mishra / @anantanni22

12/12/2018 at 07:53AM

34
#>376 - Anant Mishra / @anantanni22

12/12/2018 at 07:53AM

35
#>378 - Anant Mishra / @anantanni22

12/12/2018 at 07:49AM

36
#>381 - Anant Mishra / @anantanni22

12/12/2018 at 07:47AM

41
#>390 - Anant Mishra / @anantanni22

12/12/2018 at 07:45AM

45
#>396 - Anant Mishra / @anantanni22

12/12/2018 at 07:43AM

46
#>400 - Anant Mishra / @anantanni22

12/12/2018 at 07:15AM

55
#>414 - Anant Mishra / @anantanni22

12/12/2018 at 07:13AM