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 5421e49fdbded100021e4934

Count both ways

Right AND down.

Start file
one two three four five six seven eight nine ten eleven
End file
one two three four five six seven eight nine ten eleven
two
three
four
five
six
seven
eight
nine
ten
eleven

View Diff

1a2,11
> two
> three
> four
> five
> six
> seven
> eight
> nine
> ten
> eleven

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 339 remaining solutions by signing in and submitting your own entry
#340 Zhao Bin / @ZhaoBin2 - Score: 270 - 06/07/16 @ 16:10
yypdw:%s/ /\r/g<CR><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>u<Esc><Esc>jV:<BS><BS><BS><BS><BS><BS><BS><BS>uuuyypdwV:<BS><BS><BS><BS><BS><BS>V:s<BS>:s/ /\r/g<CR>ZZ

0 comments


Created by: @udioica

340 active golfers, 957 entries

Leaderboard (lowest score wins):
13
#31 - Jon Krause / @jkrause314

01/02/2016 at 07:03PM

13
#32 - jackliusr / @jackliusr

01/13/2016 at 10:26AM

13
#33 - Roberto Carraretto / @robcarraretto

01/30/2016 at 08:27PM

13
#34 - Faat / @i_faat

02/01/2016 at 03:46PM

13
#35 - Aleksey Zhidkov / @AlexeyZhidkov

02/04/2016 at 02:46AM

13
#36 - ben kavanagh / @bkava

02/23/2016 at 06:27PM

13
#37 - Ram Tamtam / @ramtamtamtam

06/28/2016 at 08:36AM

13
#38 - Stephen Aument / @saument

09/04/2016 at 02:53PM

13
#39 - jdupont655 / @jdupont655

09/05/2016 at 01:23AM

13
#40 - trx / @trxdbg

10/15/2016 at 12:06PM

13
#41 - Saki Gw / @Sakigw

01/20/2017 at 09:03PM

13
#42 - Daniel / @Daniel00288663

03/22/2017 at 10:51AM

13
#43 - Turkey Man / @lvturkeyman

11/13/2017 at 02:16PM

13
#44 - Arijus / @argshook

02/05/2018 at 12:41PM

13
#45 - ParasamGateZero / @ParasamGateZero

02/21/2018 at 04:28PM

13
#46 - Guirec CORBEL / @GuirecCorbel

04/06/2018 at 07:47AM

13
#47 - Daniël De Koker / @daniel_koker

07/04/2018 at 07:26AM

13
#48 - name / @name65894813

11/23/2018 at 09:22PM

13
#49 - alekfed / @alek_fed

04/15/2019 at 07:33PM

13
#50 - majo senf / @majo_senf

06/21/2019 at 09:19AM

13
#51 - vimgolfer / @vimgolfer7

10/19/2019 at 11:08PM

13
#52 - Miłosz Łakomy / @foobar01123

11/29/2019 at 10:32AM

13
#53 - Felix Boers / @felixboers

01/11/2020 at 09:44AM

13
#54 - int@紅ぽよ / @int_cl

08/06/2020 at 08:09PM

13
#55 - Jean George / @JeanGeo20504212

12/17/2021 at 01:59PM

13
#56 - blabla zincou / @BZincou

04/21/2022 at 11:52PM

13
#57 - russellzhaomao / @russellzhaomao

06/11/2022 at 01:10AM

14
#58 - Kai Yuan / @kentyuan

09/24/2014 at 09:32PM

14
#59 - Jonáš Šerých / @serycjon

09/26/2014 at 10:22PM

14
#60 - LC / @leeren

10/02/2014 at 09:15AM