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

448 active golfers, 2417 entries

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

12/12/2018 at 08:01AM

17
#>132 - Anant Mishra / @anantanni22

12/12/2018 at 08:02AM

18
#>205 - Anant Mishra / @anantanni22

12/12/2018 at 07:59AM

20
#>227 - Anant Mishra / @anantanni22

12/12/2018 at 07:58AM

21
#>241 - Anant Mishra / @anantanni22

12/12/2018 at 07:58AM

22
#>256 - Anant Mishra / @anantanni22

12/12/2018 at 07:58AM

23
#>267 - Anant Mishra / @anantanni22

12/12/2018 at 07:57AM

24
#>278 - Anant Mishra / @anantanni22

12/12/2018 at 07:57AM

25
#>293 - Anant Mishra / @anantanni22

12/12/2018 at 07:57AM

26
#>311 - Anant Mishra / @anantanni22

12/12/2018 at 07:57AM

28
#>345 - Anant Mishra / @anantanni22

12/12/2018 at 07:56AM

31
#>383 - Anant Mishra / @anantanni22

12/12/2018 at 07:56AM

32
#>386 - Anant Mishra / @anantanni22

12/12/2018 at 07:54AM

33
#>387 - Anant Mishra / @anantanni22

12/12/2018 at 07:53AM

34
#>390 - Anant Mishra / @anantanni22

12/12/2018 at 07:53AM

35
#>393 - Anant Mishra / @anantanni22

12/12/2018 at 07:49AM

36
#>396 - Anant Mishra / @anantanni22

12/12/2018 at 07:47AM

41
#>405 - Anant Mishra / @anantanni22

12/12/2018 at 07:45AM

45
#>412 - Anant Mishra / @anantanni22

12/12/2018 at 07:43AM

46
#>417 - Anant Mishra / @anantanni22

12/12/2018 at 07:15AM

55
#>431 - Anant Mishra / @anantanni22

12/12/2018 at 07:13AM