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

1058 active golfers, 4613 entries

Leaderboard (lowest score wins):
20
#661 - Sean Earle / @Hell_Rok

05/04/2018 at 07:00AM

20
#662 - 최종원 / @lastone9182

07/17/2018 at 12:25AM

20
#663 - Angry Dev / @AngryDev7

12/03/2018 at 10:27PM

21
#664 - shawndromat / @shawndromat

11/05/2014 at 02:06AM

21
#665 - Igor Duarte Cardoso / @igordcard

11/11/2014 at 01:41PM

21
#666 - Oliver Christ / @0liverChrist

11/14/2014 at 12:20AM

21
#667 - Charlton Austin / @charltonaustin

11/17/2014 at 12:02AM

21
#668 - Akira Sasaki / @hikomimo

11/20/2014 at 03:56AM

21
#669 - Glauco Pires / @grpires

11/24/2014 at 09:53PM

21
#670 - Nathan Seither / @NathanSeither

11/30/2014 at 03:56AM

21
#671 - Pawan Pawar / @guru_gyaan

12/02/2014 at 07:05AM

21
#672 - Test User / @TestUserIgnore

12/04/2014 at 07:40PM

21
#673 - Rao Zvorovski / @RaoZvorovski

12/05/2014 at 12:08PM

21
#674 - Filipe Dias-L. / @sockyrc

12/06/2014 at 10:24AM

21
#675 - Jonathan Geddes / @j_gds

12/07/2014 at 04:37AM

21
#676 - Daniel Rødskog / @daniero

12/10/2014 at 09:34PM

21
#677 - Allen Toy / @allen_toy

12/12/2014 at 12:03AM

21
#678 - Steve Alison / @Steve_Alison

12/16/2014 at 11:03PM

21
#679 - Adam Redfern / @AdmRedfern

12/19/2014 at 04:43PM

21
#680 - ぷりケツにるぽ / @nillpo

12/20/2014 at 01:14AM

21
#681 - Alex Birdsall / @OilCanSamson

12/21/2014 at 05:56AM

21
#682 - Eric Biven / @EricBiven

12/31/2014 at 09:39PM

21
#683 - Joshua Clark / @joshslark

01/02/2015 at 07:35AM

21
#684 - Ayman Farhat / @aymanfarhat

01/08/2015 at 02:29PM

21
#685 - Leo Allen / @pitch_invasion

01/14/2015 at 09:43AM

21
#686 - Simon Mölzer / @h0wser

01/19/2015 at 07:21AM

21
#687 - Ilari Mäkelä / @ilarimkel

01/19/2015 at 08:05PM

21
#688 - Иоаннъ / @Vaneskot

01/20/2015 at 04:47PM

21
#689 - Thomas Larrieu / @t_larrieu

01/25/2015 at 10:23AM

21
#690 - 裏連 / @uraren_bot

02/02/2015 at 08:11AM