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

310 active golfers, 840 entries

Leaderboard (lowest score wins):
13
#1 - Petro Тrouq / @zulolosi

09/24/2014 at 06:01PM

13
#2 - Urtica dioica / @udioica

09/24/2014 at 06:04PM

13
#3 - John Braxler / @braxler

09/24/2014 at 06:52PM

13
#4 - Caek / @Caek_

09/24/2014 at 11:48PM

13
#5 - codegourmet / @codegourmet

09/26/2014 at 09:04AM

13
#6 - Mattias Fransson / @azzidoos

09/26/2014 at 07:45PM

13
#7 - Tim Chase / @gumnos

09/28/2014 at 01:04PM

13
#8 - Carlos López / @morrizon

09/30/2014 at 07:35PM

13
#9 - John Meisner / @jmeisned

10/02/2014 at 03:13AM

13
#10 - David Tabachnikov / @davidtab

10/04/2014 at 10:03PM

13
#11 - Thiago Perrotta / @thiagowfx

10/05/2014 at 12:59AM

13
#12 - Chaitanya Desu / @ChaituNu

10/05/2014 at 01:59AM

13
#13 - Daniel Pham / @dany_pham

10/14/2014 at 10:57PM

13
#14 - Bill Booth / @ohiopyle

10/21/2014 at 05:33AM

13
#15 - Mitch LeBlanc / @symmitchry

10/22/2014 at 05:36AM

13
#16 - Kongqun Yang / @KongqunY

10/28/2014 at 12:16AM

13
#17 - Dane Summers / @dsummersl

10/31/2014 at 12:28PM

13
#18 - shein / @skriyka

11/19/2014 at 09:27PM

13
#19 - Ivan Brennan / @ivanbrennan

11/27/2014 at 05:21AM

13
#20 - zmo / @guyzmo

12/28/2014 at 08:00PM

13
#21 - yachi / @yaachi

12/31/2014 at 03:39AM

13
#22 - kimber gonzalez / @kimberlycreates

01/08/2015 at 03:35PM

13
#23 - Strabs / @artistavenue

02/12/2015 at 10:01AM

13
#24 - Michael Giuffrida / @mgiuffrida

02/24/2015 at 12:31AM

13
#25 - DrHobo / @_DrHobo_

03/15/2015 at 02:11AM

13
#26 - Mutter Mumble / @muttermumble

07/10/2015 at 10:57AM

13
#27 - Ferdev vimgolf / @fergvimgolf

08/11/2015 at 10:21PM

13
#28 - Liam Thurston / @lthurston188

08/17/2015 at 04:44AM

13
#29 - Mike Adams / @davis_cromwell

10/02/2015 at 02:35PM

13
#30 - James Potter / @JJPotterkowski

11/10/2015 at 07:48PM