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

1030 active golfers, 4508 entries

Leaderboard (lowest score wins):
25
#931 - Bruno Arueira / @bruno_arueira

01/28/2015 at 12:29PM

25
#932 - Gunnar X / @omgitsgunnar

04/13/2015 at 09:30PM

25
#933 - Durga Swaroop Perla / @durgaswaroop

02/03/2016 at 05:42PM

25
#934 - Andrew Smith / @amazing_andrew

08/13/2016 at 04:55AM

25
#935 - Noah Hunter / @nhhntr11

09/08/2016 at 06:37PM

25
#936 - PabloMansanet / @PMansanet

10/27/2016 at 12:59PM

25
#937 - Nico Jansen / @nicojansen1804

01/03/2017 at 06:23PM

25
#938 - Steve Lemuel / @Steve_Lemuel

05/04/2017 at 10:30AM

25
#939 - Andrew Whitaker / @andrewwhitaker

09/09/2017 at 06:27PM

25
#940 - Chris Kirkland / @numbahs

11/12/2017 at 03:55AM

25
#941 - Robert Sköld / @slaskis

01/20/2018 at 11:06AM

25
#942 - faisal / @faisalhackshah

11/25/2018 at 03:02AM

25
#943 - wrglprmft / @wrglprmft

01/19/2019 at 09:42PM

25
#944 - お薬手帳 / @iW4Wz6PpCiqyGqH

04/19/2019 at 02:52AM

26
#945 - Ryan Glassett / @rollsavager

11/05/2014 at 12:20AM

26
#946 - Vivus Ignis / @vivus_ignis

11/16/2014 at 08:21PM

26
#947 - Nicolas Dascanio / @NicoDascanio

11/25/2014 at 07:44PM

26
#948 - Michael Leong / @mhwleong

12/03/2014 at 03:36PM

26
#949 - allenxuyb / @allenxuyb

12/26/2014 at 04:32AM

26
#950 - alex annan / @alexannan

12/29/2014 at 12:44PM

26
#951 - Tact Overflow / @muppling

12/29/2014 at 04:10PM

26
#952 - Heather Silc Fenton / @HeatherSilc

01/15/2015 at 09:22PM

26
#953 - stb tra / @stbtra

03/04/2015 at 09:57AM

26
#954 - luffy / @raxcoi

05/23/2015 at 09:51AM

26
#955 - Seth Yoder / @McMire315

06/23/2015 at 05:06PM

26
#956 - Zak Greant / @zakgreant

08/07/2015 at 11:56AM

26
#957 - Utkrisht Dhankar / @UtkrishtDhankar

09/07/2016 at 03:56PM

26
#958 - Aurélien Hervé / @aurel_herve

04/19/2017 at 04:07PM

26
#959 - Ryan Miller / @andRyanMiller

12/15/2017 at 07:16PM

26
#960 - urandom / @ttyrandom

10/21/2018 at 03:46PM