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 @ZH-S:

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

3889 active golfers, 18831 entries

Solutions by @ZH-S:
19
#2031 - zhs / @ZH-S

04/24/2025 at 04:07AM

20
#>2323 - zhs / @ZH-S

04/24/2025 at 04:06AM

21
#>2595 - zhs / @ZH-S

04/24/2025 at 04:03AM

22
#>2809 - zhs / @ZH-S

04/24/2025 at 04:00AM

31
#>3697 - zhs / @ZH-S

04/24/2025 at 03:58AM