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

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

412 active golfers, 2165 entries

Solutions by @skamgolf:
16
#21 - skamgolf / @skamgolf

12/02/2019 at 04:54AM

16
#>21 - skamgolf / @skamgolf

12/02/2019 at 04:55AM

17
#>139 - skamgolf / @skamgolf

12/02/2019 at 04:51AM

17
#>139 - skamgolf / @skamgolf

12/02/2019 at 04:53AM

17
#>139 - skamgolf / @skamgolf

12/02/2019 at 04:53AM

18
#>187 - skamgolf / @skamgolf

12/02/2019 at 04:51AM

19
#>190 - skamgolf / @skamgolf

12/02/2019 at 04:49AM

20
#>205 - skamgolf / @skamgolf

12/02/2019 at 04:48AM

21
#>219 - skamgolf / @skamgolf

12/02/2019 at 04:48AM

22
#>234 - skamgolf / @skamgolf

12/02/2019 at 04:47AM

23
#>247 - skamgolf / @skamgolf

12/02/2019 at 04:46AM

24
#>256 - skamgolf / @skamgolf

12/02/2019 at 04:45AM

25
#>270 - skamgolf / @skamgolf

12/02/2019 at 04:44AM

26
#>290 - skamgolf / @skamgolf

12/02/2019 at 04:43AM

27
#>299 - skamgolf / @skamgolf

12/02/2019 at 04:42AM

29
#>337 - skamgolf / @skamgolf

12/02/2019 at 04:41AM

32
#>356 - skamgolf / @skamgolf

12/02/2019 at 04:40AM

33
#>358 - skamgolf / @skamgolf

12/02/2019 at 04:39AM

34
#>360 - skamgolf / @skamgolf

12/02/2019 at 04:38AM

37
#>367 - skamgolf / @skamgolf

12/02/2019 at 04:37AM

39
#>372 - skamgolf / @skamgolf

12/02/2019 at 04:35AM

41
#>375 - skamgolf / @skamgolf

12/02/2019 at 04:34AM

44
#>377 - skamgolf / @skamgolf

12/02/2019 at 04:32AM