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 @RichardDaviesAI:

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

3842 active golfers, 18616 entries

Solutions by @RichardDaviesAI:
20
#2297 - Richard Leigh Davies / @RichardDaviesAI

01/23/2021 at 12:04AM

20
#>2297 - Richard Leigh Davies / @RichardDaviesAI

01/23/2021 at 06:16PM

20
#>2297 - Richard Leigh Davies / @RichardDaviesAI

01/23/2021 at 06:18PM

20
#>2297 - Richard Leigh Davies / @RichardDaviesAI

01/23/2021 at 06:25PM

21
#>2567 - Richard Leigh Davies / @RichardDaviesAI

01/22/2021 at 11:57PM

21
#>2567 - Richard Leigh Davies / @RichardDaviesAI

01/23/2021 at 06:05PM

22
#>2781 - Richard Leigh Davies / @RichardDaviesAI

01/22/2021 at 11:55PM

23
#>3106 - Richard Leigh Davies / @RichardDaviesAI

01/22/2021 at 11:53PM

24
#>3264 - Richard Leigh Davies / @RichardDaviesAI

01/22/2021 at 11:20PM

29
#>3604 - Richard Leigh Davies / @RichardDaviesAI

01/22/2021 at 11:16PM