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

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

1257 active golfers, 5584 entries

Solutions by @adi_craciun:
11
#191 - Adrian Craciun / @adi_craciun

10/01/2019 at 08:05PM

12
#>288 - Adrian Craciun / @adi_craciun

10/01/2019 at 08:04PM

13
#>306 - Adrian Craciun / @adi_craciun

10/01/2019 at 08:00PM

14
#>492 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:56PM

15
#>528 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:54PM

16
#>566 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:53PM

17
#>600 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:52PM

18
#>700 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:44PM

21
#>932 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:36PM

23
#>1063 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:26PM

26
#>1169 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:16PM

27
#>1180 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:14PM

40
#>1238 - Adrian Craciun / @adi_craciun

10/01/2019 at 07:23PM