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

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

3859 active golfers, 18712 entries

Solutions by @mhbvim:
19
#2006 - mhb / @mhbvim

01/15/2021 at 10:26AM

19
#>2006 - mhb / @mhbvim

01/15/2021 at 10:29AM

20
#>2302 - mhb / @mhbvim

01/15/2021 at 10:13AM

20
#>2302 - mhb / @mhbvim

01/15/2021 at 10:24AM

22
#>2792 - mhb / @mhbvim

01/15/2021 at 10:09AM

23
#>3114 - mhb / @mhbvim

01/15/2021 at 10:07AM

25
#>3371 - mhb / @mhbvim

01/15/2021 at 10:04AM

28
#>3581 - mhb / @mhbvim

01/15/2021 at 10:00AM