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 25 remaining solutions by signing in and submitting your own entry
#26 XpBar / @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_

26 active golfers, 72 entries

Leaderboard (lowest score wins):
7
#1 - Ivan Diachenko / @IvanDiachenko

09/08/2018 at 04:14PM

28
#2 - Jon Krause / @jkrause314

09/13/2018 at 03:17PM

28
#3 - Saki Gw / @Sakigw

09/14/2018 at 11:22PM

28
#4 - John Braxler / @braxler

09/17/2018 at 12:16PM

28
#5 - Turkey Man / @lvturkeyman

09/21/2018 at 03:04AM

29
#6 - Smylers / @Smylers2

09/07/2018 at 07:02PM

29
#7 - Kerson Hsiao / @KersonHsiao

09/09/2018 at 02:48AM

29
#8 - royer / @RoyerMoyer1

09/10/2018 at 07:30PM

29
#9 - Robin De Mol / @RobinDeMol

09/13/2018 at 01:04PM

30
#10 - David Findley / @thefindley

09/06/2018 at 06:36PM

30
#11 - Jeff / @sir_wiggles3

09/07/2018 at 01:44AM

30
#12 - Lee Saville / @LeeSaville

09/08/2018 at 05:01PM

35
#13 - tPenguinLTG / @tpenguinltg

09/10/2018 at 12:20AM

42
#14 - Joachim Nielandt / @joachimnielandt

09/12/2018 at 01:18PM

46
#15 - n/a / @sicoh395

09/06/2018 at 02:17PM

46
#16 - Unai Orbe / @uorbe001

09/06/2018 at 05:20PM

46
#17 - Cristian Lupașcu / @clupasq

09/06/2018 at 07:58PM

46
#18 - Vinh Vu / @vinhvanvu

09/07/2018 at 01:30AM

47
#19 - Developer Desmond / @DeveloperDez

09/06/2018 at 05:04PM

51
#20 - carcheky / @carcheky

09/10/2018 at 11:23AM

53
#21 - Praful / @praful_kapadia

09/07/2018 at 12:47PM

55
#22 - Miki Tebeka / @tebeka

09/14/2018 at 02:54AM

63
#23 - Yu-Jen Chang / @redeyes2015

09/07/2018 at 01:57AM

63
#24 - Test / @TheVastComplex

09/17/2018 at 08:46PM

104
#25 - Brent Wade / @BrentWade_

09/06/2018 at 02:01PM

129
#26 - XpBar / @Xp_Bar

09/07/2018 at 03:01AM