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

428 active golfers, 2286 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
#>144 - skamgolf / @skamgolf

12/02/2019 at 04:51AM

17
#>144 - skamgolf / @skamgolf

12/02/2019 at 04:53AM

17
#>144 - skamgolf / @skamgolf

12/02/2019 at 04:53AM

18
#>196 - skamgolf / @skamgolf

12/02/2019 at 04:51AM

19
#>199 - skamgolf / @skamgolf

12/02/2019 at 04:49AM

20
#>214 - skamgolf / @skamgolf

12/02/2019 at 04:48AM

21
#>229 - skamgolf / @skamgolf

12/02/2019 at 04:48AM

22
#>244 - skamgolf / @skamgolf

12/02/2019 at 04:47AM

23
#>257 - skamgolf / @skamgolf

12/02/2019 at 04:46AM

24
#>267 - skamgolf / @skamgolf

12/02/2019 at 04:45AM

25
#>281 - skamgolf / @skamgolf

12/02/2019 at 04:44AM

26
#>301 - skamgolf / @skamgolf

12/02/2019 at 04:43AM

27
#>311 - skamgolf / @skamgolf

12/02/2019 at 04:42AM

29
#>349 - skamgolf / @skamgolf

12/02/2019 at 04:41AM

32
#>369 - skamgolf / @skamgolf

12/02/2019 at 04:40AM

33
#>371 - skamgolf / @skamgolf

12/02/2019 at 04:39AM

34
#>373 - skamgolf / @skamgolf

12/02/2019 at 04:38AM

37
#>380 - skamgolf / @skamgolf

12/02/2019 at 04:37AM

39
#>385 - skamgolf / @skamgolf

12/02/2019 at 04:35AM

41
#>388 - skamgolf / @skamgolf

12/02/2019 at 04:34AM

44
#>391 - skamgolf / @skamgolf

12/02/2019 at 04:32AM