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

1074 active golfers, 4689 entries

Leaderboard (lowest score wins):
18
#511 - Alice Benign / @AliceBenign

03/29/2015 at 01:08PM

18
#512 - Robin Moussu / @robin_moussu

03/29/2015 at 10:16PM

18
#513 - Fan Zhang / @2bDeactivat3d

04/06/2015 at 03:57AM

18
#514 - Emmanuel Denloye-Ito / @EmmanuelDenloye

04/11/2015 at 03:33PM

18
#515 - Zach Morgan / @zpmorgan

05/01/2015 at 11:10PM

18
#516 - e / @e1914_2014

05/02/2015 at 08:03AM

18
#517 - Adetque / @Adetque

05/29/2015 at 08:45AM

18
#518 - Quota / @Quotad

06/12/2015 at 10:26AM

18
#519 - Liam Thurston / @lthurston188

08/17/2015 at 03:59AM

18
#520 - Kirill Cherkashin / @kirjs

08/31/2015 at 09:13PM

18
#521 - Aleksandr Block / @AleksandrBlock

09/03/2015 at 08:50PM

18
#522 - PL / @petrlaitoch

09/16/2015 at 09:23PM

18
#523 - Adrien Fabre / @statox42

09/22/2015 at 08:14PM

18
#524 - Walker Boh / @walker_boh

09/30/2015 at 09:16AM

18
#525 - Jack Z / @itszhou

10/08/2015 at 04:39PM

18
#526 - Patrick Mitchell / @jpmitche11

10/19/2015 at 03:32PM

18
#527 - How Si Wei / @houxiwu

10/23/2015 at 12:37PM

18
#528 - Robert Clark / @rsclark2

11/06/2015 at 11:09PM

18
#529 - Robert Goeddel / @f0rdpr3fect

11/11/2015 at 10:37PM

18
#530 - Phil Ting / @philipjting

11/15/2015 at 06:37AM

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

12/24/2015 at 02:34PM

18
#532 - Aaron Mininger / @AMininger

12/24/2015 at 06:25PM

18
#533 - jackliusr / @jackliusr

01/07/2016 at 10:37AM

18
#534 - Antoine Brunet / @AntoineBrunet

01/11/2016 at 06:27PM

18
#535 - Piotr Madaliński / @MadalinskiPiotr

03/09/2016 at 10:10PM

18
#536 - manbogot / @gmanbor

04/01/2016 at 03:38PM

18
#537 - vic © / @2r2w

05/27/2016 at 05:14PM

18
#538 - tgmeng / @lazy_fabric

06/08/2016 at 01:59AM

18
#539 - Pablo R. Dinella / @pablordinella

06/11/2016 at 03:05AM

18
#540 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 09:14AM