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

428 active golfers, 2286 entries

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

05/27/2020 at 10:43AM

17
#>152 - 于吉星 / @fishermryn

05/27/2020 at 10:41AM

18
#>196 - 于吉星 / @fishermryn

05/27/2020 at 10:41AM

19
#>199 - 于吉星 / @fishermryn

05/27/2020 at 10:40AM

20
#>214 - 于吉星 / @fishermryn

05/27/2020 at 10:39AM

21
#>230 - 于吉星 / @fishermryn

05/27/2020 at 10:38AM

22
#>244 - 于吉星 / @fishermryn

05/27/2020 at 10:38AM

23
#>257 - 于吉星 / @fishermryn

05/27/2020 at 10:35AM

24
#>269 - 于吉星 / @fishermryn

05/27/2020 at 10:34AM

25
#>281 - 于吉星 / @fishermryn

05/27/2020 at 10:32AM

26
#>302 - 于吉星 / @fishermryn

05/27/2020 at 10:31AM

27
#>311 - 于吉星 / @fishermryn

05/27/2020 at 10:30AM

29
#>349 - 于吉星 / @fishermryn

05/27/2020 at 10:29AM

30
#>360 - 于吉星 / @fishermryn

05/27/2020 at 10:29AM

31
#>368 - 于吉星 / @fishermryn

05/27/2020 at 10:28AM

32
#>369 - 于吉星 / @fishermryn

05/27/2020 at 10:26AM

33
#>371 - 于吉星 / @fishermryn

05/27/2020 at 10:24AM

38
#>381 - 于吉星 / @fishermryn

05/27/2020 at 10:20AM

41
#>388 - 于吉星 / @fishermryn

05/27/2020 at 10:17AM

45
#>396 - 于吉星 / @fishermryn

05/27/2020 at 10:15AM

47
#>399 - 于吉星 / @fishermryn

05/27/2020 at 10:12AM

48
#>404 - 于吉星 / @fishermryn

05/27/2020 at 10:11AM

51
#>407 - 于吉星 / @fishermryn

05/27/2020 at 10:10AM

56
#>416 - 于吉星 / @fishermryn

05/27/2020 at 10:08AM

63
#>416 - 于吉星 / @fishermryn

05/27/2020 at 10:07AM

69
#>417 - 于吉星 / @fishermryn

05/27/2020 at 09:49AM