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 42 remaining solutions by signing in and submitting your own entry
#43 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_

43 active golfers, 140 entries

Leaderboard (lowest score wins):
27
#1 - Dax / @zacoxi

11/01/2018 at 06:26AM

27
#2 - Filipe Brandenburger / @filbranden

07/06/2019 at 06:00PM

28
#3 - Jon Krause / @jkrause314

09/13/2018 at 03:17PM

28
#4 - Saki Gw / @Sakigw

09/14/2018 at 11:22PM

28
#5 - John Braxler / @braxler

09/17/2018 at 12:16PM

28
#6 - Turkey Man / @lvturkeyman

09/21/2018 at 03:04AM

28
#7 - DoubleIA / @IaDouble

09/30/2018 at 12:12PM

28
#8 - alekfed / @alek_fed

04/15/2019 at 07:08PM

29
#9 - Smylers / @Smylers2

09/07/2018 at 07:02PM

29
#10 - Kerson Hsiao / @KersonHsiao

09/09/2018 at 02:48AM

29
#11 - royer / @RoyerMoyer1

09/10/2018 at 07:30PM

29
#12 - Robin De Mol / @RobinDeMol

09/13/2018 at 01:04PM

29
#13 - Rasmus Bergström / @JRasmusBm

09/27/2018 at 06:10AM

29
#14 - a / @UseForVim

10/06/2018 at 12:41PM

29
#15 - name / @name65894813

11/18/2018 at 08:40PM

29
#16 - Mihai / @mihaicristiant

12/04/2018 at 12:35PM

30
#17 - David Findley / @thefindley

09/06/2018 at 06:36PM

30
#18 - Jeff / @sir_wiggles3

09/07/2018 at 01:44AM

30
#19 - Lee Saville / @LeeSaville

09/08/2018 at 05:01PM

30
#20 - Roger Bongers / @RogerBongers

10/03/2018 at 11:46AM

30
#21 - Benjamin Kiesl / @BenjaminKiesl

10/15/2018 at 12:02PM

30
#22 - majo senf / @majo_senf

06/21/2019 at 12:15PM

35
#23 - tPenguinLTG / @tpenguinltg

09/10/2018 at 12:20AM

42
#24 - Joachim Nielandt / @joachimnielandt

09/12/2018 at 01:18PM

45
#25 - Mateen Ulhaq / @sicariusnoctis

02/13/2019 at 07:41AM

46
#26 - n/a / @sicoh395

09/06/2018 at 02:17PM

46
#27 - Unai Orbe / @uorbe001

09/06/2018 at 05:20PM

46
#28 - Cristian Lupașcu / @clupasq

09/06/2018 at 07:58PM

46
#29 - Vinh Vu / @vinhvanvu

09/07/2018 at 01:30AM

47
#30 - Developer Desmond / @DeveloperDez

09/06/2018 at 05:04PM