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

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

443 active golfers, 2378 entries

Solutions by @james_bunch:
17
#135 - james_bunch / @james_bunch

04/14/2019 at 08:03PM

18
#>202 - james_bunch / @james_bunch

04/14/2019 at 08:02PM

19
#>209 - james_bunch / @james_bunch

04/14/2019 at 08:01PM

20
#>224 - james_bunch / @james_bunch

04/14/2019 at 07:59PM

21
#>239 - james_bunch / @james_bunch

04/14/2019 at 07:59PM

22
#>254 - james_bunch / @james_bunch

04/14/2019 at 07:58PM

23
#>265 - james_bunch / @james_bunch

04/14/2019 at 07:57PM

24
#>276 - james_bunch / @james_bunch

04/14/2019 at 07:55PM

25
#>291 - james_bunch / @james_bunch

04/14/2019 at 07:54PM

26
#>310 - james_bunch / @james_bunch

04/14/2019 at 09:27AM

27
#>322 - james_bunch / @james_bunch

04/14/2019 at 09:26AM

29
#>362 - james_bunch / @james_bunch

04/14/2019 at 09:25AM

30
#>373 - james_bunch / @james_bunch

04/14/2019 at 09:24AM

31
#>381 - james_bunch / @james_bunch

04/14/2019 at 09:21AM

32
#>383 - james_bunch / @james_bunch

04/14/2019 at 09:18AM

33
#>384 - james_bunch / @james_bunch

04/14/2019 at 09:16AM

34
#>387 - james_bunch / @james_bunch

04/14/2019 at 09:13AM

42
#>405 - james_bunch / @james_bunch

04/14/2019 at 09:03AM

53
#>424 - james_bunch / @james_bunch

04/14/2019 at 08:48AM

55
#>426 - james_bunch / @james_bunch

04/14/2019 at 08:43AM

95
#>439 - james_bunch / @james_bunch

04/14/2019 at 08:37AM