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

95 active golfers, 294 entries

Leaderboard (lowest score wins):
22
#1 - "Smylers" / @Smylers2

02/09/2019 at 10:22PM

22
#2 - Tinko Minko / @tandikula

02/09/2019 at 10:30PM

22
#3 - Jon Krause / @jkrause314

02/10/2019 at 01:49AM

22
#4 - Henrique Malheiro / @rike09

02/10/2019 at 10:27AM

22
#5 - 𝚃𝚒𝚝𝚘𝚞𝚊𝚗 𝚃𝚎𝚢𝚜𝚜𝚒𝚎𝚛 / @TitouanT_

02/10/2019 at 12:30PM

22
#6 - adir ohayon / @AdirKip

02/10/2019 at 03:39PM

22
#7 - ؜ / @h43z

02/10/2019 at 05:58PM

22
#8 - Sebastien Nicoud / @sebnukem

02/10/2019 at 07:06PM

22
#9 - Saki Gw / @Sakigw

02/11/2019 at 07:50AM

22
#10 - Christopher Weyand / @swordman378

02/11/2019 at 01:15PM

22
#11 - John Braxler / @braxler

02/11/2019 at 02:02PM

22
#12 - Tim White / @antichrist65535

02/12/2019 at 01:00AM

22
#13 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 07:05AM

22
#14 - Jan Bundesmann / @janbundesmann

02/12/2019 at 12:18PM

22
#15 - Timothy Michael Fox / @Timothy_M_Fox

02/12/2019 at 06:18PM

22
#16 - Jan Sturm / @JanSturm77

02/12/2019 at 08:20PM

22
#17 - MuadDev / @MuadDev

02/14/2019 at 10:31AM

22
#18 - Nieko Maatjes / @niekomaatjes

02/14/2019 at 11:12AM

22
#19 - Bob_V / @Bob_V

02/14/2019 at 03:56PM

22
#20 - TimMcGuire / @mcguire

02/14/2019 at 10:47PM

22
#21 - Filipe Brandenburger / @filbranden

02/17/2019 at 03:32AM

22
#22 - Turkey Man / @lvturkeyman

02/20/2019 at 05:51AM

22
#23 - Roger Stoltz / @rogsto1

02/27/2019 at 11:28PM

22
#24 - vince / @vincentvangott

03/06/2019 at 09:30PM

22
#25 - Marty Boren / @beanmaximalist

03/13/2019 at 05:44AM

22
#26 - Amado Antonini / @AmadoAntonini

03/15/2019 at 01:55PM

22
#27 - k24w24 / @k24w24

03/25/2019 at 11:11AM

22
#28 - Scott / @chil2

04/02/2019 at 03:04AM

22
#29 - serent / @serent

04/09/2019 at 01:04AM

22
#30 - J. Nick Terry / @deft_code

04/09/2019 at 08:03PM