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 56fb2e75ccffcc0009026473

One number per line

Just give me the numbers.

Start file
- One number per line -
-----------------------
2,3,5,7,
11,13,17,
19,23,29,
End file
2
3
5
7
11
13
17
19
23
29

View Diff

Your target is 14. I don't think this one will last 24 hours. :)

Hopefully it's a good addition to the challenge set though. Enjoy.

Solutions by @GavinKoeng:

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

3898 active golfers, 18889 entries

Solutions by @GavinKoeng:
14
#777 - Gavin / @GavinKoeng

03/24/2026 at 12:49AM

15
#>843 - Gavin / @GavinKoeng

03/24/2026 at 12:49AM

16
#>1049 - Gavin / @GavinKoeng

03/24/2026 at 12:49AM

17
#>1351 - Gavin / @GavinKoeng

03/24/2026 at 12:48AM

18
#>1568 - Gavin / @GavinKoeng

03/24/2026 at 12:47AM

19
#>2038 - Gavin / @GavinKoeng

03/24/2026 at 12:47AM

22
#>2815 - Gavin / @GavinKoeng

03/24/2026 at 12:46AM

29
#>3651 - Gavin / @GavinKoeng

03/24/2026 at 12:45AM

30
#>3688 - Gavin / @GavinKoeng

03/24/2026 at 12:45AM