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

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

448 active golfers, 2417 entries

Solutions by @Tpouhuk2:
17
#123 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:56PM

18
#>202 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:55PM

20
#>226 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:54PM

21
#>239 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:53PM

23
#>264 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:52PM

24
#>277 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:50PM

25
#>293 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:46PM

26
#>310 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:45PM

27
#>325 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:38PM

29
#>364 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:36PM

32
#>385 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:31PM

38
#>399 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:27PM

40
#>403 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:25PM

44
#>410 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:13PM

46
#>417 - _Tpouhuk / @Tpouhuk2

08/08/2018 at 08:11PM