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

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

1218 active golfers, 5393 entries

Solutions by @pcchynoweth:
11
#112 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:50PM

12
#>260 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:49PM

14
#>457 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:47PM

15
#>497 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:43PM

15
#>497 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:44PM

16
#>530 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:41PM

17
#>556 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:40PM

18
#>659 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:38PM

19
#>728 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:36PM

20
#>780 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:34PM

21
#>886 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:33PM

22
#>927 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:30PM

23
#>1016 - Peter Chynoweth / @pcchynoweth

05/23/2018 at 08:28PM