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

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

3841 active golfers, 18615 entries

Solutions by @andreas_buhr:
18
#1525 - Andreas Buhr / @andreas_buhr

05/26/2020 at 11:26AM

19
#>1958 - Andreas Buhr / @andreas_buhr

05/26/2020 at 11:25AM

20
#>2265 - Andreas Buhr / @andreas_buhr

05/26/2020 at 11:25AM

21
#>2543 - Andreas Buhr / @andreas_buhr

05/26/2020 at 11:23AM

22
#>2769 - Andreas Buhr / @andreas_buhr

05/26/2020 at 11:22AM

47
#>3793 - Andreas Buhr / @andreas_buhr

05/26/2020 at 11:17AM