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

448 active golfers, 2417 entries

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

02/16/2019 at 12:37PM

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

02/16/2019 at 12:37PM

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

02/16/2019 at 12:36PM

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

02/16/2019 at 12:35PM

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

02/16/2019 at 12:34PM

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

02/16/2019 at 12:32PM

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

02/16/2019 at 12:33PM

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

02/16/2019 at 12:31PM

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

02/16/2019 at 12:25PM

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

02/16/2019 at 12:21PM

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

02/16/2019 at 09:40AM

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

02/16/2019 at 12:30PM

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

02/16/2019 at 09:39AM

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

02/16/2019 at 12:24PM

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

02/16/2019 at 09:29AM

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

02/16/2019 at 09:35AM

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

02/16/2019 at 09:36AM

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

02/16/2019 at 09:26AM

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

02/16/2019 at 09:19AM

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

02/16/2019 at 09:33AM

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

02/16/2019 at 09:17AM