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

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

1258 active golfers, 5591 entries

Solutions by @masatosis:
11
#274 - masatosis / @masatosis

12/18/2023 at 06:56AM

13
#>308 - masatosis / @masatosis

12/18/2023 at 06:54AM

14
#>498 - masatosis / @masatosis

12/18/2023 at 05:44AM

15
#>530 - masatosis / @masatosis

12/18/2023 at 05:41AM

16
#>572 - masatosis / @masatosis

12/18/2023 at 05:39AM

17
#>605 - masatosis / @masatosis

12/18/2023 at 05:36AM

18
#>707 - masatosis / @masatosis

12/18/2023 at 04:42AM

19
#>773 - masatosis / @masatosis

12/18/2023 at 04:37AM

20
#>816 - masatosis / @masatosis

12/18/2023 at 04:36AM

21
#>939 - masatosis / @masatosis

12/18/2023 at 04:34AM

23
#>1074 - masatosis / @masatosis

12/18/2023 at 04:25AM

23
#>1074 - masatosis / @masatosis

12/18/2023 at 04:27AM

24
#>1128 - masatosis / @masatosis

12/18/2023 at 04:22AM

24
#>1128 - masatosis / @masatosis

12/18/2023 at 04:23AM

26
#>1172 - masatosis / @masatosis

12/18/2023 at 04:20AM

31
#>1215 - masatosis / @masatosis

12/18/2023 at 04:18AM

45
#>1247 - masatosis / @masatosis

12/18/2023 at 04:16AM