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

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

1225 active golfers, 5422 entries

Solutions by @chocola81394123:
12
#281 - chocolate / @chocola81394123

12/05/2020 at 01:38PM

13
#>289 - chocolate / @chocola81394123

12/05/2020 at 01:34PM

14
#>478 - chocolate / @chocola81394123

12/05/2020 at 12:24PM

15
#>509 - chocolate / @chocola81394123

12/05/2020 at 11:08AM

16
#>551 - chocolate / @chocola81394123

12/05/2020 at 11:07AM

17
#>584 - chocolate / @chocola81394123

12/05/2020 at 11:06AM

18
#>685 - chocolate / @chocola81394123

12/05/2020 at 11:06AM

19
#>748 - chocolate / @chocola81394123

12/05/2020 at 11:05AM

21
#>915 - chocolate / @chocola81394123

12/05/2020 at 11:04AM

22
#>939 - chocolate / @chocola81394123

12/05/2020 at 11:02AM