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 5b9131545c53aa000ca952f6

Array Transposition

Transpose four arrays into two.

Start file
[v,m,o,f]
[i,g,l]
[i,b,n,f,c,a]
[s,e,e,i,a,l]
End file
[v,i,m,g,o,l,f]
[i,s,b,e,n,e,f,i,c,i,a,l]

View Diff

< [v,m,o,f]
<[i,g,l]
<[i,b,n,f,c,a]
<[s,e,e,i,a,l]

----

>[v,i,m,g,o,l,f]
>[i,s,b,e,n,e,f,i,c,i,a,l]

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 55 remaining solutions by signing in and submitting your own entry
#56 nick / @Xp_Bar - Score: 129 - 09/07/18 @ 03:01
lvl"adjvl"Adkvl"Adjvl"Adkvl"Adjv"Adkh"apa,<Esc>jddlvl"adjvl"Adkvl"Adjvl"Adkvl"Adjvl"Adkvl"Adjvl"Adkvl"Adjvl"Adkv"Adjhpa,<Esc>hhhrikdd:wq<CR>

0 comments


Created by: @BrentWade_

56 active golfers, 201 entries

Leaderboard (lowest score wins):
35
#31 - tPenguinLTG / @tpenguinltg

09/10/2018 at 12:20AM

40
#32 - Qingz / @Noct943

10/10/2024 at 07:36AM

41
#33 - RockerZZY / @rocker_zzy

06/22/2020 at 11:33PM

42
#34 - Joachim Nielandt / @joachimnielandt

09/12/2018 at 01:18PM

45
#35 - Mateen Ulhaq / @sicariusnoctis

02/13/2019 at 07:41AM

45
#36 - Ivo Blöchliger / @aigledesalpes

08/17/2019 at 11:29AM

46
#37 - n/a / @sicoh395

09/06/2018 at 02:17PM

46
#38 - Unai Orbe / @uorbe001

09/06/2018 at 05:20PM

46
#39 - Cristian Lupașcu / @clupasq

09/06/2018 at 07:58PM

46
#40 - Vinh Vu / @vinhvanvu

09/07/2018 at 01:30AM

46
#41 - Melvin Cheung / @MelvinCheung

11/13/2019 at 03:08AM

47
#42 - Developer Desmond / @DeveloperDez

09/06/2018 at 05:04PM

51
#43 - carcheky / @carcheky

09/10/2018 at 11:23AM

53
#44 - Praful / @praful_kapadia

09/07/2018 at 12:47PM

54
#45 - vg / @vg53210350

10/29/2018 at 03:21AM

54
#46 - Bennett / @bennettbackward

12/19/2018 at 10:40AM

55
#47 - Miki Tebeka / @tebeka

09/14/2018 at 02:54AM

57
#48 - Maas Lalani / @maaslalani

12/06/2018 at 02:25AM

57
#49 - キムラ・OPEL・ユウジ / @kimurayuuji79

11/18/2022 at 04:01AM

63
#50 - Yu-Jen Chang / @redeyes2015

09/07/2018 at 01:57AM

63
#51 - Test / @TheVastComplex

09/17/2018 at 08:46PM

67
#52 - Jurica / @Jurica34581259

11/16/2018 at 11:28AM

68
#53 - Luis Rodriguez / @luisthecoder

11/14/2018 at 01:13PM

104
#54 - Brent Wade / @BrentWade_

09/06/2018 at 02:01PM

116
#55 - Fabio Branquinho / @branquif

11/08/2018 at 09:38PM

129
#56 - nick / @Xp_Bar

09/07/2018 at 03:01AM