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

1092 active golfers, 4829 entries

Leaderboard (lowest score wins):
19
#601 - A / @Tower_1980

11/10/2014 at 10:24AM

19
#602 - Ben Bonfil / @benbonfil

11/16/2014 at 09:20PM

19
#603 - sou s / @_sou3

11/26/2014 at 03:51PM

19
#604 - Eric Lawless / @eplawless

12/10/2014 at 08:31AM

19
#605 - Luca Giovagnoli / @ryuzaki250

12/14/2014 at 09:15AM

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

12/16/2014 at 02:16PM

19
#607 - Andrew Leung / @aleungpivotal

12/18/2014 at 04:20PM

19
#608 - Boon-Hau Teh / @boondigo

12/24/2014 at 03:50PM

19
#609 - Tamás Torba / @torbatamas

12/30/2014 at 03:32PM

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

01/10/2015 at 03:56AM

19
#611 - Geoffrey Boom / @theboomtube

01/21/2015 at 01:21AM

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

01/28/2015 at 11:48PM

19
#613 - Jeremie / @jermoer

02/06/2015 at 03:12AM

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

03/19/2015 at 12:37PM

19
#615 - Marek Wawrzos / @putisPenser

03/25/2015 at 09:20AM

19
#616 - Alexander Kazakov / @volandkot

03/27/2015 at 12:22PM

19
#617 - Marc-Antoine Sauvé / @masauve_ac

04/26/2015 at 11:38PM

19
#618 - Emil Soman / @emilsoman

05/17/2015 at 04:27PM

19
#619 - Daniel Worthington / @halffullheart

05/20/2015 at 02:38AM

19
#620 - Clark DuVall / @theclarkatron

05/22/2015 at 10:06PM

19
#621 - mat / @matgeist

05/22/2015 at 10:07PM

19
#622 - tehdog / @tehdog22

06/06/2015 at 04:49PM

19
#623 - Florian Schöffl / @FlorianSchffl

08/07/2015 at 04:14PM

19
#624 - Blake Tereau / @BlakeTereau

08/11/2015 at 05:08PM

19
#625 - alex / @alexAngle8

08/21/2015 at 10:22PM

19
#626 - No way / @korgmademedothi

08/24/2015 at 11:32PM

19
#627 - Andrew Michaud / @andrewjmichaud

09/15/2015 at 10:32PM

19
#628 - ささ / @sk_sn

11/11/2015 at 08:49AM

19
#629 - Paul D. Kang / @pauldakang

12/11/2015 at 01:52AM

19
#630 - Jasbir Singh / @jasbirsingh11

01/16/2016 at 08:01PM