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 97 remaining solutions by signing in and submitting your own entry
#98 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

98 active golfers, 305 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 - Miłosz Łakomy / @foobar01123

07/18/2019 at 09:45AM

22
#46 - sooqua / @sooqua

08/09/2019 at 04:28AM

22
#47 - Martin Delille / @martinodelilo

08/20/2019 at 10:21AM

22
#48 - Cassandra / @kascein

09/18/2019 at 10:30PM

22
#49 - Viktor Styrud / @ViktorStyrud

10/11/2019 at 07:21AM

22
#50 - Melvin Cheung / @MelvinCheung

11/10/2019 at 05:15AM

22
#51 - Lory / @Lory46845742

11/14/2019 at 08:35AM

22
#52 - countime / @countime1

03/18/2020 at 04:34AM

22
#53 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 07:52PM

22
#54 - Jung Yeon Park / @park_jungy

02/06/2021 at 11:33PM

22
#55 - hepebexè / @hepebexe

02/11/2021 at 11:31PM

22
#56 - Jean George / @JeanGeo20504212

09/15/2021 at 09:39PM

22
#57 - moh ayaya / @AyayaMoh

09/13/2023 at 06:41PM

22
#58 - Luoyb / @Luoyb

11/02/2023 at 01:24AM

22
#59 - Peppa Pig / @PeppaPigSg

04/29/2024 at 04:03AM

22
#60 - Giacomo Sansone / @pcineverdies

07/06/2024 at 03:38PM