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):
14
#391 - Noud Speijcken / @noudspeijcken

06/20/2015 at 06:55PM

14
#392 - Andres Manz / @manz_andres

06/24/2015 at 01:39PM

14
#393 - Skúli Jóhannsson / @skulibj

06/25/2015 at 11:15PM

14
#394 - Lindsay Swift / @_lindsai_

07/05/2015 at 12:49AM

14
#395 - Hunter Gatewood / @hcgatewood

07/28/2015 at 05:13AM

14
#396 - Peter B / @l0wm4x

08/01/2015 at 06:27PM

14
#397 - Reef / @Sir_Reef

08/05/2015 at 10:58PM

14
#398 - Veritas / @_VeritasL

08/13/2015 at 01:56PM

14
#399 - Nick Xiao / @nicoster

08/18/2015 at 02:31PM

14
#400 - David Perfors / @dnperfors

08/20/2015 at 08:36PM

14
#401 - Paulo Romeira / @pauloromeira

08/21/2015 at 03:47PM

14
#402 - JS / @jjohsan

08/23/2015 at 09:00AM

14
#403 - Dennis Burke / @ikirudennis

08/27/2015 at 06:22PM

14
#404 - T A / @SirAviles

08/30/2015 at 02:59PM

14
#405 - oscar / @zonza_mas

09/02/2015 at 02:03PM

14
#406 - Restroom Sounds / @RestroomSounds

09/06/2015 at 07:02PM

14
#407 - Joey / @joeyism101

09/12/2015 at 12:24AM

14
#408 - Obviouscator / @obviouscator

09/17/2015 at 11:48AM

14
#409 - Kevin Merlin / @mp3merlin

09/17/2015 at 02:23PM

14
#410 - Victor Kasatkin / @vikasatkin

09/20/2015 at 09:36PM

14
#411 - Thomas Draper / @QuanTom561

09/26/2015 at 12:56AM

14
#412 - Self Doc Code / @self_doc_code

09/28/2015 at 05:39AM

14
#413 - 이 철희 / @leechulhee95

10/02/2015 at 09:38AM

14
#414 - compuserved / @compuserved

10/04/2015 at 05:09AM

14
#415 - ojung / @oskrjung

10/04/2015 at 10:28PM

14
#416 - "Smylers" / @Smylers2

10/08/2015 at 03:37PM

14
#417 - Perry van Schaijk / @PvSchaijk

10/09/2015 at 11:40AM

14
#418 - 朱国栋 / @GuodongZhu

10/15/2015 at 03:33AM

14
#419 - Steve / @fourbitbots

10/21/2015 at 02:36AM

14
#420 - NuM / @NuM314

10/24/2015 at 05:59AM