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 1098 remaining solutions by signing in and submitting your own entry
#1099 Dominic Z / @thammaaa - Score: 66 - 12/21/17 @ 12:59
<C-V>GI10<Esc><Esc><C-V>G<C-N><C-A><Esc>ugvgvv<C-A><Esc>uu<C-R><Right><Right><Esc>v<Down><Down><Down><Up><Up><Up><Esc><C-V><Down><Down><Down><Down><Down><Right>d<Left><Left><Down><C-V><Down><Down><Down><Down><C-A><Esc>u<C-V>Gg<C-V><C-A><Esc>u<C-V>Gg<C-A>ZZ

0 comments


Created by: @udioica

1099 active golfers, 4854 entries

Leaderboard (lowest score wins):
15
#421 - antew / @antewcode

06/03/2015 at 03:12AM

15
#422 - Robert Robertson / @RobertC3228687

06/03/2015 at 04:30PM

15
#423 - Mutter Mumble / @muttermumble

06/17/2015 at 02:55PM

15
#424 - Louis Burke / @LambdaABeta

07/07/2015 at 06:14PM

15
#425 - Piotr Kowenzowski / @sacherus

02/19/2016 at 02:42PM

15
#426 - Yanis KHORSI / @YanisKHORSI

03/25/2016 at 03:42PM

15
#427 - Nigel Rahkola / @NinjaRahkola

05/11/2016 at 06:04AM

15
#428 - Michał Dytko / @DytkoM

12/19/2016 at 11:21AM

15
#429 - eiladin / @eiladin

12/08/2017 at 02:16PM

15
#430 - Dylan Nelson / @dlnnlsn

06/08/2018 at 04:02AM

15
#431 - DoubleIA / @IaDouble

10/18/2018 at 10:41AM

15
#432 - Pfhor / @PfhorShark

01/23/2019 at 10:33PM

15
#433 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:45AM

16
#434 - w1zeman1p / @wizemanip

11/06/2014 at 05:14AM

16
#435 - Marcelo Montu / @_mMontu_

11/07/2014 at 04:42PM

16
#436 - David Tenreiro / @AxDATF

11/08/2014 at 07:03AM

16
#437 - Kai Yuan / @kentyuan

11/09/2014 at 08:09PM

16
#438 - Timothée Gauthier / @zmf_tim

11/10/2014 at 07:43PM

16
#439 - Alex Hioreanu / @hioreanu

11/11/2014 at 02:42AM

16
#440 - Christopher Brew / @Seph1rothVII

11/15/2014 at 12:24AM

16
#441 - retired account / @retired10072015

12/01/2014 at 11:37AM

16
#442 - Daniel Wang / @danwang

12/10/2014 at 10:21PM

16
#443 - jared swarts / @JaredSwarts

12/12/2014 at 11:20PM

16
#444 - Josu Oyanguren / @josuoyanguren

12/19/2014 at 12:38PM

16
#445 - Thiago Prado / @5k1pp3r

02/20/2015 at 09:46PM

16
#446 - イタシ / @wwitashi

03/24/2015 at 04:00PM

16
#447 - David Rogers / @al_the_x

06/04/2015 at 04:23AM

16
#448 - Дима Давыдов / @xaykot

08/14/2015 at 07:57PM

16
#449 - Nicholas Marrone / @nickmarrone

09/05/2015 at 11:29PM

16
#450 - Marc Cathomen / @marccathomen

09/28/2015 at 12:55AM