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

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

413 active golfers, 2169 entries

Solutions by @fishermryn:
16
#29 - 于吉星 / @fishermryn

05/27/2020 at 10:43AM

17
#>148 - 于吉星 / @fishermryn

05/27/2020 at 10:41AM

18
#>188 - 于吉星 / @fishermryn

05/27/2020 at 10:41AM

19
#>191 - 于吉星 / @fishermryn

05/27/2020 at 10:40AM

20
#>206 - 于吉星 / @fishermryn

05/27/2020 at 10:39AM

21
#>221 - 于吉星 / @fishermryn

05/27/2020 at 10:38AM

22
#>235 - 于吉星 / @fishermryn

05/27/2020 at 10:38AM

23
#>248 - 于吉星 / @fishermryn

05/27/2020 at 10:35AM

24
#>259 - 于吉星 / @fishermryn

05/27/2020 at 10:34AM

25
#>271 - 于吉星 / @fishermryn

05/27/2020 at 10:32AM

26
#>292 - 于吉星 / @fishermryn

05/27/2020 at 10:31AM

27
#>300 - 于吉星 / @fishermryn

05/27/2020 at 10:30AM

29
#>338 - 于吉星 / @fishermryn

05/27/2020 at 10:29AM

30
#>348 - 于吉星 / @fishermryn

05/27/2020 at 10:29AM

31
#>356 - 于吉星 / @fishermryn

05/27/2020 at 10:28AM

32
#>357 - 于吉星 / @fishermryn

05/27/2020 at 10:26AM

33
#>359 - 于吉星 / @fishermryn

05/27/2020 at 10:24AM

38
#>369 - 于吉星 / @fishermryn

05/27/2020 at 10:20AM

41
#>376 - 于吉星 / @fishermryn

05/27/2020 at 10:17AM

45
#>383 - 于吉星 / @fishermryn

05/27/2020 at 10:15AM

47
#>386 - 于吉星 / @fishermryn

05/27/2020 at 10:12AM

48
#>391 - 于吉星 / @fishermryn

05/27/2020 at 10:11AM

51
#>393 - 于吉星 / @fishermryn

05/27/2020 at 10:10AM

56
#>402 - 于吉星 / @fishermryn

05/27/2020 at 10:08AM

63
#>402 - 于吉星 / @fishermryn

05/27/2020 at 10:07AM

69
#>403 - 于吉星 / @fishermryn

05/27/2020 at 09:49AM