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

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

1263 active golfers, 5645 entries

Solutions by @HansW313:
11
#270 - Hans Wurscht / @HansW313

09/18/2023 at 04:45PM

11
#>270 - Hans Wurscht / @HansW313

09/18/2023 at 04:45PM

12
#>303 - Hans Wurscht / @HansW313

09/18/2023 at 04:44PM

12
#>303 - Hans Wurscht / @HansW313

09/18/2023 at 04:44PM

13
#>312 - Hans Wurscht / @HansW313

09/18/2023 at 04:37PM

14
#>502 - Hans Wurscht / @HansW313

09/18/2023 at 04:36PM

15
#>534 - Hans Wurscht / @HansW313

09/18/2023 at 04:35PM

16
#>577 - Hans Wurscht / @HansW313

09/18/2023 at 04:33PM

17
#>610 - Hans Wurscht / @HansW313

09/18/2023 at 04:31PM

18
#>712 - Hans Wurscht / @HansW313

09/18/2023 at 04:29PM

19
#>778 - Hans Wurscht / @HansW313

09/18/2023 at 04:26PM

20
#>821 - Hans Wurscht / @HansW313

09/18/2023 at 04:23PM

21
#>944 - Hans Wurscht / @HansW313

09/18/2023 at 04:18PM