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

1033 active golfers, 4514 entries

Leaderboard (lowest score wins):
11
#151 - Blah Blah / @BlahBla08410389

01/12/2019 at 08:44PM

11
#152 - abgalphabet / @abgalphabet

01/14/2019 at 03:56PM

11
#153 - Sebastien Nicoud / @sebnukem

02/06/2019 at 11:17PM

11
#154 - Ng Sek Long / @NgSekLong

02/09/2019 at 04:10PM

11
#155 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:47AM

11
#156 - 默罕默德 / @Rt6RjEAJ987Woes

02/14/2019 at 08:34AM

11
#157 - tenteke / @kuskus3

02/15/2019 at 03:28PM

11
#158 - filbranden / @filbranden

02/17/2019 at 08:57AM

11
#159 - hn9u / @hn9u

02/25/2019 at 05:04PM

11
#160 - Titouan Teyssier / @TitouanT_

03/02/2019 at 02:59AM

11
#161 - zenwalker / @zenwalker93

03/09/2019 at 12:01PM

11
#162 - enji / @enji_ja

03/19/2019 at 02:15PM

11
#163 - Parsa Amini / @ParsaAmini

03/20/2019 at 05:16PM

11
#164 - k24w24 / @k24w24

03/26/2019 at 01:34PM

11
#165 - Joel Eriksson / @OwariDa

04/08/2019 at 10:01PM

11
#166 - alekfed / @alek_fed

04/14/2019 at 09:14PM

11
#167 - Gitsnik / @dracyrys

04/22/2019 at 10:58AM

11
#168 - Grant / @grant_7788

04/28/2019 at 01:36AM

11
#169 - Sherab Giovannini / @shaddycls

05/02/2019 at 09:28PM

11
#170 - Paul Yates / @PYates77

05/08/2019 at 08:43PM

11
#171 - Nick Yeow / @nickyeow

05/22/2019 at 11:47AM

12
#172 - Steffen Köhler / @Baertierchen

07/11/2015 at 10:54PM

12
#173 - SporadicLizard / @sporadiclizard

01/14/2018 at 08:10PM

12
#174 - Bart Reynolds / @bartums

03/01/2018 at 04:19AM

12
#175 - LC / @leeren

03/01/2018 at 09:13AM

12
#176 - matthew brett / @matthewbrett

03/26/2018 at 09:05AM

12
#177 - Pablo / @suspekt007

04/07/2018 at 09:30AM

12
#178 - Daniël De Koker / @daniel_koker

06/05/2018 at 03:47PM

12
#179 - niwatoco / @yoshitune9

07/19/2018 at 01:32AM

12
#180 - Ruby Sapphire / @RubySapphire20

12/15/2018 at 02:56AM