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

1032 active golfers, 4511 entries

Leaderboard (lowest score wins):
18
#511 - manbogot / @gmanbor

04/01/2016 at 03:38PM

18
#512 - vic © / @2r2w

05/27/2016 at 05:14PM

18
#513 - tgmeng / @lazy_fabric

06/08/2016 at 01:59AM

18
#514 - Pablo R. Dinella / @pablordinella

06/11/2016 at 03:05AM

18
#515 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 09:14AM

18
#516 - Jeremiah Goyette / @JeremiahGoyette

07/31/2016 at 07:48PM

18
#517 - Zombo Tron / @zombo_tron

09/07/2016 at 08:04AM

18
#518 - Denis Shevchenko / @denchenko

10/26/2016 at 08:39AM

18
#519 - KangHun Seo / @shirano80

10/31/2016 at 07:34AM

18
#520 - John Barbero Unenge / @JBarberU

11/09/2016 at 02:16PM

18
#521 - Liam S Ismail / @AC01Y

12/08/2016 at 03:17PM

18
#522 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 05:09PM

18
#523 - Jan Eisenhauer / @EisenhauerJan

12/23/2016 at 11:23PM

18
#524 - Avimgolfer / @l718232

01/30/2017 at 05:05PM

18
#525 - Victorien Lorcy / @LorcyVictorien

02/06/2017 at 03:04PM

18
#526 - Sergey Ryabko / @RyabkoSergey

03/31/2017 at 06:37PM

18
#527 - Pratik Prasad / @pratik

04/26/2017 at 03:34PM

18
#528 - Jerry Wu / @AzureSpectra

05/05/2017 at 11:12PM

18
#529 - grigouille / @grigouille2

07/08/2017 at 05:36PM

18
#530 - jirgn / @jirgn

09/23/2017 at 08:48PM

18
#531 - Stephen Watkin / @stephen_watkin

10/06/2017 at 04:35PM

18
#532 - Elton Kamami / @pixel_grid

10/09/2017 at 07:00PM

18
#533 - sehe / @sehetw

10/10/2017 at 02:17PM

18
#534 - ryuugekisya / @ryuugekisya

11/06/2017 at 05:13AM

18
#535 - BareTull / @BareTull3

11/27/2017 at 02:54AM

18
#536 - TpouHuK / @TpouHuK_

02/02/2018 at 07:10PM

18
#537 - ifdkGDtr / @IfdkDtr

02/24/2018 at 04:45PM

18
#538 - Quade Morrison / @quade_morrison

05/07/2018 at 08:55PM

18
#539 - ¬¬¬ ¬¬¬ / @WLq3KGhxohrCPl1

07/09/2018 at 01:45AM

18
#540 - Tom ten Thij / @eco_coder

07/11/2018 at 01:37PM