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):
22
#331 - Edmundo Perez / @ingedmundo

12/03/2014 at 06:51PM

22
#332 - John Diamond / @jcdmnd

12/04/2014 at 12:43PM

22
#333 - Aaron / @_Lordofthevoid_

12/06/2019 at 01:55PM

24
#334 - Rolen Le / @RolenTLe

09/26/2014 at 06:22PM

25
#335 - Jurica / @Jurica34581259

11/16/2018 at 04:12PM

25
#336 - Luis Rodriguez / @luisthecoder

11/18/2018 at 12:30AM

26
#337 - Geoffrey Boom / @theboomtube

09/29/2014 at 04:45PM

26
#338 - Juampy NR / @juampynr

10/10/2014 at 08:46PM

65
#339 - ЕвгенийВ / @imater

10/27/2014 at 05:42AM

270
#340 - Zhao Bin / @ZhaoBin2

06/07/2016 at 04:10PM