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

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

443 active golfers, 2378 entries

Solutions by @Rt6RjEAJ987Woes:
17
#132 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:37PM

18
#>202 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:37PM

19
#>208 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:36PM

20
#>224 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:35PM

21
#>238 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:34PM

22
#>254 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:32PM

22
#>254 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:33PM

23
#>264 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:31PM

25
#>290 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:25PM

27
#>322 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:21PM

29
#>362 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:40AM

29
#>362 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:30PM

32
#>383 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:39AM

32
#>383 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 12:24PM

34
#>387 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:29AM

34
#>387 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:35AM

34
#>387 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:36AM

37
#>394 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:26AM

41
#>403 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:19AM

42
#>405 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:33AM

44
#>406 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:17AM