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, 4690 entries

Leaderboard (lowest score wins):
18
#571 - Kasparas Lavrukaitis / @kaslvr

11/04/2018 at 08:43AM

18
#572 - Luis Rodriguez / @luisthecoder

11/13/2018 at 12:26AM

18
#573 - 강현 / @Applesquiz

01/22/2019 at 11:28AM

18
#574 - heppen / @heppen_He

03/12/2019 at 03:30AM

18
#575 - Duke Du / @DukeDu2

03/31/2019 at 09:00PM

18
#576 - Ivo Blöchliger / @aigledesalpes

08/03/2019 at 06:11PM

18
#577 - blub / @agorilladriving

09/17/2019 at 03:36PM

19
#578 - Michael Foley / @m1foley

11/04/2014 at 11:44PM

19
#579 - Jeffrey fiddler / @jeff_nv_86

11/05/2014 at 12:23AM

19
#580 - Shane Smith / @_shanesmith

11/05/2014 at 02:34AM

19
#581 - Amit Verma / @amitv12

11/05/2014 at 03:49AM

19
#582 - Matt Robbins / @mcrmfc

11/05/2014 at 12:17PM

19
#583 - Asymmetrical Max / @thismax

11/06/2014 at 06:50AM

19
#584 - Collin Richards / @MrBallinCollin

11/09/2014 at 09:41AM

19
#585 - A / @Tower_1980

11/10/2014 at 10:24AM

19
#586 - Ben Bonfil / @benbonfil

11/16/2014 at 09:20PM

19
#587 - sou s / @_sou3

11/26/2014 at 03:51PM

19
#588 - Eric Lawless / @eplawless

12/10/2014 at 08:31AM

19
#589 - Luca Giovagnoli / @ryuzaki250

12/14/2014 at 09:15AM

19
#590 - 1upまむ9 / @mamunine

12/16/2014 at 02:16PM

19
#591 - Andrew Leung / @aleungpivotal

12/18/2014 at 04:20PM

19
#592 - Boon-Hau Teh / @boondigo

12/24/2014 at 03:50PM

19
#593 - Tamás Torba / @torbatamas

12/30/2014 at 03:32PM

19
#594 - ZC-死理性派 / @zecyzhang

01/10/2015 at 03:56AM

19
#595 - Geoffrey Boom / @theboomtube

01/21/2015 at 01:21AM

19
#596 - )ouni|(antola / @jouni_kantola

01/28/2015 at 11:48PM

19
#597 - Jeremie / @jermoer

02/06/2015 at 03:12AM

19
#598 - Sigurður Ægir Jónsso / @siggiae

03/19/2015 at 12:37PM

19
#599 - Marek Wawrzos / @putisPenser

03/25/2015 at 09:20AM

19
#600 - Alexander Kazakov / @volandkot

03/27/2015 at 12:22PM