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

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

422 active golfers, 2234 entries

Solutions by @raysden:
16
#38 - Ray Dennis / @raysden

12/23/2020 at 11:57PM

17
#>158 - Ray Dennis / @raysden

12/23/2020 at 11:56PM

18
#>192 - Ray Dennis / @raysden

12/23/2020 at 11:55PM

20
#>212 - Ray Dennis / @raysden

12/23/2020 at 11:54PM

21
#>225 - Ray Dennis / @raysden

12/23/2020 at 11:54PM

22
#>239 - Ray Dennis / @raysden

12/23/2020 at 11:52PM

22
#>239 - Ray Dennis / @raysden

12/23/2020 at 11:53PM

23
#>252 - Ray Dennis / @raysden

12/23/2020 at 11:51PM

24
#>266 - Ray Dennis / @raysden

12/23/2020 at 11:50PM

25
#>277 - Ray Dennis / @raysden

12/23/2020 at 11:46PM

26
#>297 - Ray Dennis / @raysden

12/23/2020 at 11:45PM

28
#>327 - Ray Dennis / @raysden

12/23/2020 at 11:43PM

29
#>343 - Ray Dennis / @raysden

12/23/2020 at 11:39PM