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

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

448 active golfers, 2417 entries

Solutions by @lamtt77:
16
#33 - lamtt77 / @lamtt77

10/10/2020 at 01:26PM

17
#>167 - lamtt77 / @lamtt77

10/10/2020 at 01:24PM

18
#>207 - lamtt77 / @lamtt77

10/10/2020 at 01:23PM

19
#>212 - lamtt77 / @lamtt77

10/10/2020 at 01:20PM

20
#>229 - lamtt77 / @lamtt77

10/10/2020 at 01:20PM

21
#>244 - lamtt77 / @lamtt77

10/10/2020 at 01:19PM

22
#>258 - lamtt77 / @lamtt77

10/10/2020 at 01:18PM

23
#>271 - lamtt77 / @lamtt77

10/10/2020 at 01:16PM

24
#>284 - lamtt77 / @lamtt77

10/10/2020 at 01:15PM

25
#>295 - lamtt77 / @lamtt77

10/10/2020 at 01:14PM

26
#>316 - lamtt77 / @lamtt77

10/10/2020 at 01:12PM

27
#>328 - lamtt77 / @lamtt77

10/10/2020 at 01:11PM

28
#>347 - lamtt77 / @lamtt77

10/10/2020 at 01:10PM

29
#>365 - lamtt77 / @lamtt77

10/10/2020 at 01:09PM

31
#>385 - lamtt77 / @lamtt77

10/10/2020 at 01:07PM

32
#>386 - lamtt77 / @lamtt77

10/10/2020 at 01:05PM

33
#>388 - lamtt77 / @lamtt77

10/10/2020 at 01:04PM

34
#>390 - lamtt77 / @lamtt77

10/10/2020 at 01:02PM

35
#>394 - lamtt77 / @lamtt77

10/10/2020 at 01:00PM

41
#>407 - lamtt77 / @lamtt77

10/10/2020 at 12:58PM

44
#>411 - lamtt77 / @lamtt77

10/10/2020 at 12:55PM