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 5490a40f6571cc0002bc6920

Square numbers

Boring math puzzle.

Start file
0
End file
0
1
4
9
16
25
36
49
64
81
100

View Diff

1a2,11
> 1
> 4
> 9
> 16
> 25
> 36
> 49
> 64
> 81
> 100

Solutions by @GavinKoeng:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @udioica

44 active golfers, 132 entries

Solutions by @GavinKoeng:
16
#6 - Gavin / @GavinKoeng

04/22/2026 at 11:06PM

17
#>7 - Gavin / @GavinKoeng

04/22/2026 at 11:05PM

18
#>10 - Gavin / @GavinKoeng

04/22/2026 at 11:04PM

21
#>12 - Gavin / @GavinKoeng

04/22/2026 at 11:04PM

25
#>23 - Gavin / @GavinKoeng

04/22/2026 at 11:03PM

30
#>27 - Gavin / @GavinKoeng

04/22/2026 at 11:00PM

31
#>29 - Gavin / @GavinKoeng

04/22/2026 at 11:00PM