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

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

1264 active golfers, 5648 entries

Solutions by @MingDai2:
11
#68 - Ming Dai / @MingDai2

05/21/2017 at 07:31PM

11
#>225 - Ming Dai / @MingDai2

06/30/2020 at 03:44PM

14
#>474 - Ming Dai / @MingDai2

05/21/2017 at 07:29PM

14
#>499 - Ming Dai / @MingDai2

06/30/2020 at 05:47AM

14
#>499 - Ming Dai / @MingDai2

06/30/2020 at 05:48AM

14
#>499 - Ming Dai / @MingDai2

06/30/2020 at 03:37PM

15
#>527 - Ming Dai / @MingDai2

05/21/2017 at 07:28PM

16
#>558 - Ming Dai / @MingDai2

05/21/2017 at 07:26PM

17
#>584 - Ming Dai / @MingDai2

05/21/2017 at 07:24PM

18
#>682 - Ming Dai / @MingDai2

05/21/2017 at 07:23PM

18
#>711 - Ming Dai / @MingDai2

06/30/2020 at 05:45AM

19
#>761 - Ming Dai / @MingDai2

05/21/2017 at 07:16PM

20
#>807 - Ming Dai / @MingDai2

05/21/2017 at 07:13PM

20
#>807 - Ming Dai / @MingDai2

05/21/2017 at 07:15PM

21
#>917 - Ming Dai / @MingDai2

05/21/2017 at 07:11PM

29
#>1211 - Ming Dai / @MingDai2

06/30/2020 at 05:44AM

33
#>1225 - Ming Dai / @MingDai2

05/21/2017 at 07:26PM

68
#>1264 - Ming Dai / @MingDai2

05/21/2017 at 07:19PM