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

1083 active golfers, 4767 entries

Leaderboard (lowest score wins):
20
#661 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 01:21PM

20
#662 - lilach adir / @leelaRed

03/31/2016 at 11:47AM

20
#663 - niels aamloos / @AamloosNiels

05/28/2016 at 02:57PM

20
#664 - Paweł Smołka / @pawelsmolka

06/15/2016 at 11:45AM

20
#665 - David Devecsery / @devecsery

06/22/2016 at 08:11PM

20
#666 - Netrisk Cool / @C00lt0

09/29/2016 at 09:36PM

20
#667 - Hlynur / @HlynDiezel

12/12/2016 at 10:53PM

20
#668 - Alexey Filonenko / @BrightOne_LS

01/07/2017 at 10:50PM

20
#669 - Cù Hữu Hoàng / @Cuhuuhoang

02/14/2017 at 03:15PM

20
#670 - caplod / @caplod

03/25/2017 at 10:24AM

20
#671 - Hans Yelek / @hans_yelek

04/22/2017 at 08:48AM

20
#672 - Marco Bompani / @BompaniMarco

09/15/2017 at 02:50PM

20
#673 - Vim Golf / @golf_vim

10/30/2017 at 05:48PM

20
#674 - BarbaJol / @drpproteus

12/30/2017 at 05:56PM

20
#675 - Michael B / @michaderninja

01/01/2018 at 04:58PM

20
#676 - Kaydo Alders / @Yousousen

03/15/2018 at 08:41PM

20
#677 - Paul Draghicescu / @pdragy

03/22/2018 at 06:24AM

20
#678 - 서강훈 / @shirano150

04/04/2018 at 01:39AM

20
#679 - Sean Earle / @Hell_Rok

05/04/2018 at 07:00AM

20
#680 - 최종원 / @lastone9182

07/17/2018 at 12:25AM

20
#681 - Angry Dev / @AngryDev7

12/03/2018 at 10:27PM

20
#682 - vim_ninja / @NinjaVim

08/22/2019 at 04:28AM

21
#683 - shawndromat / @shawndromat

11/05/2014 at 02:06AM

21
#684 - Igor Duarte Cardoso / @igordcard

11/11/2014 at 01:41PM

21
#685 - Oliver Christ / @0liverChrist

11/14/2014 at 12:20AM

21
#686 - Charlton Austin / @charltonaustin

11/17/2014 at 12:02AM

21
#687 - Akira Sasaki / @hikomimo

11/20/2014 at 03:56AM

21
#688 - Glauco Pires / @grpires

11/24/2014 at 09:53PM

21
#689 - Nathan Seither / @NathanSeither

11/30/2014 at 03:56AM

21
#690 - Pawan Pawar / @guru_gyaan

12/02/2014 at 07:05AM