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

1008 active golfers, 4383 entries

Leaderboard (lowest score wins):
20
#601 - Tim Vail / @timdvail

08/05/2015 at 06:56PM

20
#602 - lukaskrieger / @lukaskrieger

08/07/2015 at 01:24PM

20
#603 - Paulo H Baumann / @PauloBaumann

10/05/2015 at 04:30PM

20
#604 - Ali Moeeny / @alimoeeny

10/21/2015 at 11:48AM

20
#605 - LordFoom / @LordFoom

10/22/2015 at 02:45PM

20
#606 - Ethan Stewart / @EthanS279

12/23/2015 at 09:40PM

20
#607 - [onion] chesse / @onion_chesse

03/29/2016 at 12:33AM

20
#608 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 01:21PM

20
#609 - lilach adir / @leelaRed

03/31/2016 at 11:47AM

20
#610 - niels aamloos / @AamloosNiels

05/28/2016 at 02:57PM

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

06/15/2016 at 11:45AM

20
#612 - David Devecsery / @devecsery

06/22/2016 at 08:11PM

20
#613 - Netrisk Cool / @C00lt0

09/29/2016 at 09:36PM

20
#614 - Hlynur / @HlynDiezel

12/12/2016 at 10:53PM

20
#615 - Alexey Filonenko / @BrightOne_LS

01/07/2017 at 10:50PM

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

02/14/2017 at 03:15PM

20
#617 - caplod / @caplod

03/25/2017 at 10:24AM

20
#618 - Hans Yelek / @hans_yelek

04/22/2017 at 08:48AM

20
#619 - Marco Bompani / @BompaniMarco

09/15/2017 at 02:50PM

20
#620 - Vim Golf / @golf_vim

10/30/2017 at 05:48PM

20
#621 - BarbaJol / @drpproteus

12/30/2017 at 05:56PM

20
#622 - Michael B / @michaderninja

01/01/2018 at 04:58PM

20
#623 - Kaydo Alders / @Yousousen

03/15/2018 at 08:41PM

20
#624 - Paul Draghicescu / @pdragy

03/22/2018 at 06:24AM

20
#625 - 서강훈 / @shirano150

04/04/2018 at 01:39AM

20
#626 - Sean Earle / @Hell_Rok

05/04/2018 at 07:00AM

20
#627 - 최종원 / @lastone9182

07/17/2018 at 12:25AM

20
#628 - Angry Dev / @AngryDev7

12/03/2018 at 10:27PM

21
#629 - shawndromat / @shawndromat

11/05/2014 at 02:06AM

21
#630 - Igor Duarte Cardoso / @igordcard

11/11/2014 at 01:41PM