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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

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

1269 active golfers, 5683 entries

Leaderboard (lowest score wins):
15
#511 - Alexandre Jouandin / @Allezxandre

11/19/2014 at 08:04PM

15
#512 - Jens Weggemann / @JensWeggemann

11/29/2014 at 12:47PM

15
#513 - kobby / @_kafdot_

12/08/2014 at 10:09PM

15
#514 - JR Boyens / @jboyens

12/18/2014 at 05:34PM

15
#515 - winterlight / @winterlight4

12/25/2014 at 11:53AM

15
#516 - Maximiliano Padulo / @mpadulo

12/26/2014 at 11:42PM

15
#517 - Jordana Lachow / @TomofBedlam

01/04/2015 at 03:17AM

15
#518 - no name / @vimgol

01/30/2015 at 03:48PM

15
#519 - xieyh11 / @xieyh11

02/13/2015 at 04:20AM

15
#520 - Naseem Al-Naji / @NaseemAlnaji

02/13/2015 at 10:58PM

15
#521 - E Both / @enboth

04/06/2015 at 08:15AM

15
#522 - antew / @antewcode

06/03/2015 at 03:12AM

15
#523 - Robert Robertson / @RobertC3228687

06/03/2015 at 04:30PM

15
#524 - Mutter Mumble / @muttermumble

06/17/2015 at 02:55PM

15
#525 - Louis Burke / @LambdaABeta

07/07/2015 at 06:14PM

15
#526 - Piotr Kowenzowski / @sacherus

02/19/2016 at 02:42PM

15
#527 - Yanis KHORSI / @YanisKHORSI

03/25/2016 at 03:42PM

15
#528 - Nigel Rahkola / @NinjaRahkola

05/11/2016 at 06:04AM

15
#529 - Michał Dytko / @DytkoM

12/19/2016 at 11:21AM

15
#530 - eiladin / @eiladin

12/08/2017 at 02:16PM

15
#531 - Dylan Nelson / @dlnnlsn

06/08/2018 at 04:02AM

15
#532 - DoubleIA / @IaDouble

10/18/2018 at 10:41AM

15
#533 - Pfhor / @PfhorShark

01/23/2019 at 10:33PM

15
#534 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:45AM

15
#535 - loupiot.veloce / @LoupiotVeloce

06/11/2020 at 10:01AM

15
#536 - soundscope / @__soundscope__

06/30/2020 at 07:52AM

15
#537 - Neix20 / @Neix20

10/01/2024 at 05:47AM

16
#538 - CJ Avilla / @cjav_dev

11/06/2014 at 05:14AM

16
#539 - Marcelo Montu / @_mMontu_

11/07/2014 at 04:42PM

16
#540 - David Tenreiro / @AxDATF

11/08/2014 at 07:03AM