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

39 active golfers, 120 entries

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

09/08/2018 at 04:14PM

27
#2 - Dax / @zacoxi

11/01/2018 at 06:26AM

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

29
#8 - Smylers / @Smylers2

09/07/2018 at 07:02PM

29
#9 - Kerson Hsiao / @KersonHsiao

09/09/2018 at 02:48AM

29
#10 - royer / @RoyerMoyer1

09/10/2018 at 07:30PM

29
#11 - Robin De Mol / @RobinDeMol

09/13/2018 at 01:04PM

29
#12 - Rasmus Bergström / @JRasmusBm

09/27/2018 at 06:10AM

29
#13 - a / @UseForVim

10/06/2018 at 12:41PM

29
#14 - name / @name65894813

11/18/2018 at 08:40PM

29
#15 - Mihai / @mihaicristiant

12/04/2018 at 12:35PM

30
#16 - David Findley / @thefindley

09/06/2018 at 06:36PM

30
#17 - Jeff / @sir_wiggles3

09/07/2018 at 01:44AM

30
#18 - Lee Saville / @LeeSaville

09/08/2018 at 05:01PM

30
#19 - Roger Bongers / @RogerBongers

10/03/2018 at 11:46AM

30
#20 - Benjamin Kiesl / @BenjaminKiesl

10/15/2018 at 12:02PM

35
#21 - tPenguinLTG / @tpenguinltg

09/10/2018 at 12:20AM

42
#22 - Joachim Nielandt / @joachimnielandt

09/12/2018 at 01:18PM

46
#23 - n/a / @sicoh395

09/06/2018 at 02:17PM

46
#24 - Unai Orbe / @uorbe001

09/06/2018 at 05:20PM

46
#25 - Cristian Lupașcu / @clupasq

09/06/2018 at 07:58PM

46
#26 - Vinh Vu / @vinhvanvu

09/07/2018 at 01:30AM

47
#27 - Developer Desmond / @DeveloperDez

09/06/2018 at 05:04PM

51
#28 - carcheky / @carcheky

09/10/2018 at 11:23AM

53
#29 - Praful / @praful_kapadia

09/07/2018 at 12:47PM

54
#30 - vg / @vg53210350

10/29/2018 at 03:21AM