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):
14
#331 - Alexander / @vlasyuk_a

11/24/2016 at 12:39AM

14
#332 - Pierre Maoui / @poupougnac

12/20/2016 at 04:05PM

14
#333 - Air Quality Test 8 / @AirQualityTest8

01/17/2017 at 05:41AM

14
#334 - Alexander Bessonov / @nonsleepr

03/13/2017 at 08:24PM

14
#335 - Tyler Holien / @tylerholien

03/27/2017 at 04:05AM

14
#336 - Daniel / @Daniel00288663

03/29/2017 at 01:39PM

14
#337 - Solomon / @Trugbildjaeger

04/02/2017 at 12:36PM

14
#338 - Jason Hooper 🇨🇦 / @jasonincanada

04/23/2017 at 01:28AM

14
#339 - Russell Ball / @rtball2

04/30/2017 at 08:40PM

14
#340 - Remus Dalrymple / @bornintheflames

05/04/2017 at 10:50AM

14
#341 - moritz / @moritz45081535

06/18/2017 at 03:27PM

14
#342 - Brian Hall / @_bruab_

06/29/2017 at 01:32PM

14
#343 - zhangxspace / @zhangxspace1

07/27/2017 at 03:03PM

14
#344 - toddkoym / @toddkoym

08/09/2017 at 01:59AM

14
#345 - aselaIllayaparachchi / @asela38

09/14/2017 at 03:51AM

14
#346 - garry quested / @GQuested

09/27/2017 at 08:40AM

14
#347 - BouboulouVimGolf / @BouboulouVG

11/02/2017 at 07:46AM

14
#348 - えるざっぷ / @_elzup_

11/03/2017 at 09:39AM

14
#349 - Ad Infinitum / @Ad_Inifinitum

11/13/2017 at 07:36AM

14
#350 - bruno / @LokoPoggi

02/24/2018 at 07:45PM

14
#351 - frank p / @icedearth55

05/05/2018 at 05:26PM

14
#352 - Romeo Valentin / @Seecez

07/29/2018 at 08:36PM

14
#353 - David Findley / @thefindley

09/07/2018 at 03:17AM

14
#354 - Koo Zhengqun / @zhengqunkoo

09/28/2018 at 04:13AM

14
#355 - Sam Kim / @samkimhis

10/23/2018 at 12:55AM

14
#356 - Finn Francis / @FinnFrancis

10/30/2018 at 10:39PM

14
#357 - Patrick Lavin / @LavinComputes

01/30/2019 at 07:31PM

15
#358 - Hans Liu / @zhansliu

11/05/2014 at 05:29AM

15
#359 - Caek / @Caek_

11/05/2014 at 07:36AM

15
#360 - Tim Chase / @gumnos

11/05/2014 at 11:08AM