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

431 active golfers, 2312 entries

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

05/27/2020 at 10:43AM

17
#>154 - 于吉星 / @fishermryn

05/27/2020 at 10:41AM

18
#>198 - 于吉星 / @fishermryn

05/27/2020 at 10:41AM

19
#>201 - 于吉星 / @fishermryn

05/27/2020 at 10:40AM

20
#>216 - 于吉星 / @fishermryn

05/27/2020 at 10:39AM

21
#>233 - 于吉星 / @fishermryn

05/27/2020 at 10:38AM

22
#>247 - 于吉星 / @fishermryn

05/27/2020 at 10:38AM

23
#>260 - 于吉星 / @fishermryn

05/27/2020 at 10:35AM

24
#>272 - 于吉星 / @fishermryn

05/27/2020 at 10:34AM

25
#>284 - 于吉星 / @fishermryn

05/27/2020 at 10:32AM

26
#>305 - 于吉星 / @fishermryn

05/27/2020 at 10:31AM

27
#>314 - 于吉星 / @fishermryn

05/27/2020 at 10:30AM

29
#>352 - 于吉星 / @fishermryn

05/27/2020 at 10:29AM

30
#>363 - 于吉星 / @fishermryn

05/27/2020 at 10:29AM

31
#>371 - 于吉星 / @fishermryn

05/27/2020 at 10:28AM

32
#>372 - 于吉星 / @fishermryn

05/27/2020 at 10:26AM

33
#>374 - 于吉星 / @fishermryn

05/27/2020 at 10:24AM

38
#>384 - 于吉星 / @fishermryn

05/27/2020 at 10:20AM

41
#>391 - 于吉星 / @fishermryn

05/27/2020 at 10:17AM

45
#>399 - 于吉星 / @fishermryn

05/27/2020 at 10:15AM

47
#>402 - 于吉星 / @fishermryn

05/27/2020 at 10:12AM

48
#>407 - 于吉星 / @fishermryn

05/27/2020 at 10:11AM

51
#>410 - 于吉星 / @fishermryn

05/27/2020 at 10:10AM

56
#>419 - 于吉星 / @fishermryn

05/27/2020 at 10:08AM

63
#>419 - 于吉星 / @fishermryn

05/27/2020 at 10:07AM

69
#>420 - 于吉星 / @fishermryn

05/27/2020 at 09:49AM