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

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

1255 active golfers, 5576 entries

Solutions by @Benoit_Mortgat:
11
#85 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:26AM

14
#>478 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:25AM

14
#>478 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:25AM

15
#>522 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:24AM

17
#>579 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:22AM

18
#>681 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:20AM

20
#>801 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:17AM

20
#>801 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:19AM

24
#>1118 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:18AM

26
#>1163 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:19AM