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 1004 remaining solutions by signing in and submitting your own entry
#1005 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

1005 active golfers, 4375 entries

Leaderboard (lowest score wins):
18
#481 - PL / @petrlaitoch

09/16/2015 at 09:23PM

18
#482 - Adrien Fabre / @statox42

09/22/2015 at 08:14PM

18
#483 - Walker Boh / @walker_boh

09/30/2015 at 09:16AM

18
#484 - Jack Z / @itszhou

10/08/2015 at 04:39PM

18
#485 - Patrick Mitchell / @jpmitche11

10/19/2015 at 03:32PM

18
#486 - How Si Wei / @houxiwu

10/23/2015 at 12:37PM

18
#487 - Robert Clark / @rsclark2

11/06/2015 at 11:09PM

18
#488 - Robert Goeddel / @f0rdpr3fect

11/11/2015 at 10:37PM

18
#489 - Phil Ting / @philipjting

11/15/2015 at 06:37AM

18
#490 - ⏠ᛚᵩ⅜⛭␂⇰✥⛨⦿⨭ᣀ⑲⇻ / @gardensimulator

12/24/2015 at 02:34PM

18
#491 - Aaron Mininger / @AMininger

12/24/2015 at 06:25PM

18
#492 - jackliusr / @jackliusr

01/07/2016 at 10:37AM

18
#493 - Antoine Brunet / @AntoineBrunet

01/11/2016 at 06:27PM

18
#494 - Piotr Madaliński / @MadalinskiPiotr

03/09/2016 at 10:10PM

18
#495 - manbogot / @gmanbor

04/01/2016 at 03:38PM

18
#496 - vic © / @2r2w

05/27/2016 at 05:14PM

18
#497 - tgmeng / @lazy_fabric

06/08/2016 at 01:59AM

18
#498 - Pablo R. Dinella / @pablordinella

06/11/2016 at 03:05AM

18
#499 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 09:14AM

18
#500 - Jeremiah Goyette / @JeremiahGoyette

07/31/2016 at 07:48PM

18
#501 - Zombo Tron / @zombo_tron

09/07/2016 at 08:04AM

18
#502 - Denis Shevchenko / @denchenko

10/26/2016 at 08:39AM

18
#503 - KangHun Seo / @shirano80

10/31/2016 at 07:34AM

18
#504 - John Barbero Unenge / @JBarberU

11/09/2016 at 02:16PM

18
#505 - Liam S Ismail / @AC01Y

12/08/2016 at 03:17PM

18
#506 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 05:09PM

18
#507 - Jan Eisenhauer / @EisenhauerJan

12/23/2016 at 11:23PM

18
#508 - Avimgolfer / @l718232

01/30/2017 at 05:05PM

18
#509 - Victorien Lorcy / @LorcyVictorien

02/06/2017 at 03:04PM

18
#510 - Sergey Ryabko / @RyabkoSergey

03/31/2017 at 06:37PM