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):
14
#331 - Artūras Zakrevskis / @AZakrevskis

06/09/2016 at 11:08AM

14
#332 - Arijus / @argshook

06/09/2016 at 11:13AM

14
#333 - Timothy Caleb Nordlo / @tnordloh

06/26/2016 at 06:06AM

14
#334 - Reuben Huxley / @missiontocode

06/29/2016 at 08:11PM

14
#335 - Павел Игоревич / @VizierST

06/30/2016 at 10:10PM

14
#336 - Alex Rod. / @thealex23ro

07/01/2016 at 08:51PM

14
#337 - Girish Gokul / @girishgoku

07/14/2016 at 04:35AM

14
#338 - Sandeep Dhavale / @sandeep_dhavale

07/22/2016 at 11:52PM

14
#339 - jj johnson / @jcassj1

08/31/2016 at 12:46PM

14
#340 - Anthony Ardito / @aardito21

09/27/2016 at 05:47PM

14
#341 - timerella® / @timerella

11/16/2016 at 11:15PM

14
#342 - Alexander / @vlasyuk_a

11/24/2016 at 12:39AM

14
#343 - Pierre Maoui / @poupougnac

12/20/2016 at 04:05PM

14
#344 - Air Quality Test 8 / @AirQualityTest8

01/17/2017 at 05:41AM

14
#345 - Alexander Bessonov / @nonsleepr

03/13/2017 at 08:24PM

14
#346 - Tyler Holien / @tylerholien

03/27/2017 at 04:05AM

14
#347 - Daniel / @Daniel00288663

03/29/2017 at 01:39PM

14
#348 - Solomon / @Trugbildjaeger

04/02/2017 at 12:36PM

14
#349 - Jason Hooper 🇨🇦 / @jasonincanada

04/23/2017 at 01:28AM

14
#350 - Russell Ball / @rtball2

04/30/2017 at 08:40PM

14
#351 - Remus Dalrymple / @bornintheflames

05/04/2017 at 10:50AM

14
#352 - moritz / @moritz45081535

06/18/2017 at 03:27PM

14
#353 - Brian Hall / @_bruab_

06/29/2017 at 01:32PM

14
#354 - zhangxspace / @zhangxspace1

07/27/2017 at 03:03PM

14
#355 - toddkoym / @toddkoym

08/09/2017 at 01:59AM

14
#356 - aselaIllayaparachchi / @asela38

09/14/2017 at 03:51AM

14
#357 - garry quested / @GQuested

09/27/2017 at 08:40AM

14
#358 - BouboulouVimGolf / @BouboulouVG

11/02/2017 at 07:46AM

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

11/03/2017 at 09:39AM

14
#360 - Ad Infinitum / @Ad_Inifinitum

11/13/2017 at 07:36AM