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

Build a six

Just enjoy building "a" floors...

Start file
6
End file
     a = 1
    aa = 2
   aaa = 3
  aaaa = 4
 aaaaa = 5
aaaaaa = 6

View Diff

1,6d0
<      a = 1
<     aa = 2
<    aaa = 3
<   aaaa = 4
<  aaaaa = 5
< aaaaaa = 6

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 70 remaining solutions by signing in and submitting your own entry
#71 Mathieu Chan / @Bazoo77197 - Score: 84 - 02/12/19 @ 14:17
6ia<Esc>a = <Esc>yy5Pvehr j.uv4lr uv3e<Esc>hhhhhhhhhhv3lr jv2lr jvlr jr j<C-X>uk<C-X>k<C-X><C-X>k<C-X><C-X><C-X>kr2kr1<Esc><Esc>:wq<CR>

0 comments


Created by: @SirAviles

71 active golfers, 204 entries

Leaderboard (lowest score wins):
22
#31 - Joel Eriksson / @OwariDa

04/09/2019 at 10:31PM

22
#32 - alekfed / @alek_fed

04/15/2019 at 06:56AM

22
#33 - Gitsnik / @dracyrys

04/22/2019 at 12:08PM

22
#34 - Grant / @grant_7788

04/28/2019 at 01:45PM

22
#35 - Sherab Giovannini / @shaddycls

05/02/2019 at 10:35PM

22
#36 - Kai.Li / @KaiLi19

05/07/2019 at 04:40AM

22
#37 - Petro Тrouq / @zulolosi

05/12/2019 at 05:24AM

22
#38 - Vitaly Sinilin / @unterwulf

05/15/2019 at 05:38PM

22
#39 - Sæther / @baltre1

06/06/2019 at 05:20PM

22
#40 - Prashanth / @Prashanth157T

06/12/2019 at 05:15PM

22
#41 - majo senf / @majo_senf

06/17/2019 at 10:55AM

22
#42 - mkaminaga / @mkmng3

07/01/2019 at 05:59AM

22
#43 - Petru-Armand Bancila / @petruarmand

07/09/2019 at 08:04PM

22
#44 - Matt / @mcr05

07/13/2019 at 11:36AM

22
#45 - Foo Bar / @foobar01123

07/18/2019 at 09:45AM

23
#46 - Calum Halpin / @calumhalpin

02/09/2019 at 11:03PM

23
#47 - Derek Schrock / @derekschrock

02/10/2019 at 01:31AM

23
#48 - Jack Denny / @Scarab5Q

02/10/2019 at 11:05PM

23
#49 - BaffaloP 🐃🎨 / @bbaffalopp

02/11/2019 at 07:40AM

23
#50 - churaki / @churaki

02/11/2019 at 04:14PM

23
#51 - T A / @SirAviles

02/11/2019 at 09:04PM

23
#52 - 默罕默德 / @Rt6RjEAJ987Woes

02/13/2019 at 07:57AM

23
#53 - Kevin Ullmann / @kevosauce

02/16/2019 at 01:00AM

23
#54 - enji / @enji_ja

03/19/2019 at 09:07AM

23
#55 - David A. Lyon / @dauglyon

03/29/2019 at 11:14PM

23
#56 - Sondre Lunde / @SondreSL

06/06/2019 at 05:18PM

25
#57 - Daniel Steinberg / @dstein64

02/09/2019 at 10:01PM

25
#58 - Carl Blomqvist / @calleblomqvist

02/15/2019 at 02:29PM

25
#59 - sjcomp / @sjcomp

02/25/2019 at 08:44PM

25
#60 - james_bunch / @james_bunch

04/07/2019 at 12:33AM