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 54595b13128576000257a3c1

Basic renumbering

Renumbering Basic.

Start file
10 PRINT "The actual"
15 PRINT "code doesn't"
16 PRINT "really matter."
20 PRINT "Just take"
25 PRINT "care of"
30 PRINT "the numbers."
End file
10 PRINT "The actual"
20 PRINT "code doesn't"
30 PRINT "really matter."
40 PRINT "Just take"
50 PRINT "care of"
60 PRINT "the numbers."

View Diff

2,6c2,6
< 15 PRINT "code doesn't"
< 16 PRINT "really matter."
< 20 PRINT "Just take"
< 25 PRINT "care of"
< 30 PRINT "the numbers."
---
> 20 PRINT "code doesn't"
> 30 PRINT "really matter."
> 40 PRINT "Just take"
> 50 PRINT "care of"
> 60 PRINT "the numbers."

Solutions by @KonRonnie:

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

1257 active golfers, 5584 entries

Solutions by @KonRonnie:
16
#562 - Ronnie Kon / @KonRonnie

01/28/2019 at 07:50PM

17
#>594 - Ronnie Kon / @KonRonnie

01/28/2019 at 07:49PM

18
#>696 - Ronnie Kon / @KonRonnie

01/28/2019 at 07:48PM

19
#>762 - Ronnie Kon / @KonRonnie

01/28/2019 at 07:48PM

20
#>811 - Ronnie Kon / @KonRonnie

01/28/2019 at 07:47PM

21
#>928 - Ronnie Kon / @KonRonnie

01/28/2019 at 07:46PM

22
#>960 - Ronnie Kon / @KonRonnie

01/21/2019 at 02:09AM

23
#>1054 - Ronnie Kon / @KonRonnie

01/21/2019 at 02:07AM

24
#>1124 - Ronnie Kon / @KonRonnie

01/21/2019 at 02:06AM

26
#>1167 - Ronnie Kon / @KonRonnie

01/21/2019 at 02:04AM

26
#>1167 - Ronnie Kon / @KonRonnie

01/28/2019 at 07:44PM

28
#>1194 - Ronnie Kon / @KonRonnie

01/21/2019 at 02:02AM

30
#>1209 - Ronnie Kon / @KonRonnie

01/21/2019 at 02:00AM