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

448 active golfers, 2417 entries

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

08/08/2019 at 07:35PM

17
#>146 - sooqua / @sooqua

08/08/2019 at 07:34PM

18
#>207 - sooqua / @sooqua

08/08/2019 at 07:33PM

20
#>227 - sooqua / @sooqua

08/08/2019 at 07:33PM

21
#>243 - sooqua / @sooqua

08/08/2019 at 07:32PM

22
#>258 - sooqua / @sooqua

08/08/2019 at 07:32PM

23
#>269 - sooqua / @sooqua

08/08/2019 at 07:30PM

24
#>281 - sooqua / @sooqua

08/08/2019 at 07:30PM

25
#>294 - sooqua / @sooqua

08/08/2019 at 07:29PM

26
#>314 - sooqua / @sooqua

08/08/2019 at 07:28PM

27
#>325 - sooqua / @sooqua

08/08/2019 at 07:28PM

29
#>365 - sooqua / @sooqua

08/08/2019 at 07:27PM

32
#>386 - sooqua / @sooqua

08/08/2019 at 07:26PM

33
#>387 - sooqua / @sooqua

08/08/2019 at 07:26PM

34
#>390 - sooqua / @sooqua

08/08/2019 at 07:26PM

37
#>398 - sooqua / @sooqua

08/08/2019 at 07:24PM

39
#>402 - sooqua / @sooqua

08/08/2019 at 07:22PM

39
#>402 - sooqua / @sooqua

08/08/2019 at 07:24PM