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

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

1258 active golfers, 5587 entries

Solutions by @ViktorStyrud:
11
#192 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 01:30PM

11
#>192 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 01:34PM

12
#>288 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 01:29PM

13
#>306 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 01:28PM

14
#>492 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 01:27PM

15
#>528 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 01:25PM

16
#>566 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 01:25PM

17
#>600 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 12:45PM

18
#>700 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 12:44PM

19
#>765 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 12:43PM

21
#>932 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 12:42PM

22
#>963 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 12:42PM

23
#>1063 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 12:30PM

24
#>1124 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 12:29PM

26
#>1170 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 10:24AM

29
#>1203 - Viktor Styrud / @ViktorStyrud

10/02/2019 at 10:23AM