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

431 active golfers, 2312 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
#>146 - skamgolf / @skamgolf

12/02/2019 at 04:51AM

17
#>146 - skamgolf / @skamgolf

12/02/2019 at 04:53AM

17
#>146 - skamgolf / @skamgolf

12/02/2019 at 04:53AM

18
#>198 - skamgolf / @skamgolf

12/02/2019 at 04:51AM

19
#>201 - skamgolf / @skamgolf

12/02/2019 at 04:49AM

20
#>216 - skamgolf / @skamgolf

12/02/2019 at 04:48AM

21
#>232 - skamgolf / @skamgolf

12/02/2019 at 04:48AM

22
#>247 - skamgolf / @skamgolf

12/02/2019 at 04:47AM

23
#>260 - skamgolf / @skamgolf

12/02/2019 at 04:46AM

24
#>270 - skamgolf / @skamgolf

12/02/2019 at 04:45AM

25
#>284 - skamgolf / @skamgolf

12/02/2019 at 04:44AM

26
#>304 - skamgolf / @skamgolf

12/02/2019 at 04:43AM

27
#>314 - skamgolf / @skamgolf

12/02/2019 at 04:42AM

29
#>352 - skamgolf / @skamgolf

12/02/2019 at 04:41AM

32
#>372 - skamgolf / @skamgolf

12/02/2019 at 04:40AM

33
#>374 - skamgolf / @skamgolf

12/02/2019 at 04:39AM

34
#>376 - skamgolf / @skamgolf

12/02/2019 at 04:38AM

37
#>383 - skamgolf / @skamgolf

12/02/2019 at 04:37AM

39
#>388 - skamgolf / @skamgolf

12/02/2019 at 04:35AM

41
#>391 - skamgolf / @skamgolf

12/02/2019 at 04:34AM

44
#>394 - skamgolf / @skamgolf

12/02/2019 at 04:32AM