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

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

1257 active golfers, 5584 entries

Solutions by @kmbmjn:
11
#253 - 김범준 / @kmbmjn

01/14/2021 at 05:21AM

12
#>297 - 김범준 / @kmbmjn

01/14/2021 at 05:20AM

13
#>308 - 김범준 / @kmbmjn

01/14/2021 at 05:20AM

14
#>496 - 김범준 / @kmbmjn

01/14/2021 at 05:19AM

15
#>530 - 김범준 / @kmbmjn

01/14/2021 at 05:18AM

16
#>572 - 김범준 / @kmbmjn

01/14/2021 at 05:17AM

17
#>605 - 김범준 / @kmbmjn

01/14/2021 at 05:17AM

18
#>706 - 김범준 / @kmbmjn

01/14/2021 at 05:16AM

19
#>771 - 김범준 / @kmbmjn

01/14/2021 at 05:15AM

21
#>939 - 김범준 / @kmbmjn

01/14/2021 at 05:14AM

22
#>963 - 김범준 / @kmbmjn

01/14/2021 at 05:12AM

22
#>963 - 김범준 / @kmbmjn

01/14/2021 at 05:13AM