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

87 active golfers, 264 entries

Leaderboard (lowest score wins):
23
#61 - T A / @SirAviles

02/11/2019 at 09:04PM

23
#62 - 默罕默德 / @Rt6RjEAJ987Woes

02/13/2019 at 07:57AM

23
#63 - Kevin Ullmann / @kevosauce

02/16/2019 at 01:00AM

23
#64 - enji / @enji_ja

03/19/2019 at 09:07AM

23
#65 - David A. Lyon / @dauglyon

03/29/2019 at 11:14PM

23
#66 - Sondre Lunde / @SondreSL

06/06/2019 at 05:18PM

23
#67 - Ivo Blöchliger / @aigledesalpes

08/04/2019 at 09:09PM

23
#68 - Baine Wedlock / @BaineWedlock

09/24/2019 at 01:14PM

23
#69 - leo / @leo28356948

11/17/2019 at 05:02AM

25
#70 - Daniel Steinberg / @dstein64

02/09/2019 at 10:01PM

25
#71 - Carl Blomqvist / @calleblomqvist

02/15/2019 at 02:29PM

25
#72 - sjcomp / @sjcomp

02/25/2019 at 08:44PM

25
#73 - james_bunch / @james_bunch

04/07/2019 at 12:33AM

25
#74 - Jason Neylon / @jasonneylon

04/01/2020 at 06:06PM

26
#75 - RockerZZY / @rocker_zzy

06/13/2020 at 03:39AM

31
#76 - fucus / @fishlovebanana

02/21/2019 at 07:44AM

38
#77 - Andrew Tongen / @atongen

02/10/2019 at 05:38PM

42
#78 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 03:52AM

45
#79 - Jason / @roosjason

07/13/2020 at 05:15AM

48
#80 - りょー / @ryoo141

05/10/2019 at 12:29PM

54
#81 - Patrick Lavin / @LavinComputes

02/09/2019 at 08:52PM

55
#82 - algebraic-geometric / @algebraicgeome1

02/25/2019 at 08:16PM

57
#83 - Incognita / @flutterlice

05/29/2019 at 11:02AM

65
#84 - The Joe / @computerjoe708

03/19/2019 at 07:15AM

67
#85 - Robby / @Robby3141

02/11/2019 at 10:51PM

74
#86 - Anant Mishra / @anantanni22

02/10/2019 at 01:26PM

84
#87 - Mathieu Chan / @Bazoo77197

02/12/2019 at 02:17PM