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):
16
#241 - tgmeng / @lazy_fabric

06/17/2016 at 01:38AM

16
#242 - Imre Kerr / @imre_kerr

07/28/2016 at 11:02AM

16
#243 - Jeremiah Goyette / @JeremiahGoyette

08/02/2016 at 05:57AM

16
#244 - 王运 / @640138017

08/15/2016 at 01:09AM

16
#245 - Peter Brynza / @v3_1

08/19/2016 at 09:11PM

16
#246 - javier castro / @eusipial

09/19/2016 at 04:56AM

16
#247 - TweetDreams / @TweetMusicians

10/11/2016 at 04:15AM

16
#248 - jinx balotchnik / @balotchnik

10/14/2016 at 02:51AM

16
#249 - Kyouma / @kyoumaJohn

10/14/2016 at 06:15PM

16
#250 - Etienne Florent / @EtienneFlorent

11/29/2016 at 10:37AM

16
#251 - BlackCap / @BlackCapCoder

11/30/2016 at 12:22PM

16
#252 - Michał Dytko / @DytkoM

12/22/2016 at 01:08PM

16
#253 - tPenguinLTG / @tpenguinltg

01/21/2017 at 06:22AM

16
#254 - Kritixi Lithos / @kritixilithos

03/02/2017 at 07:55PM

16
#255 - Jerry Wu / @AzureSpectra

05/06/2017 at 12:21AM

16
#256 - Remus Dalrymple / @bornintheflames

05/07/2017 at 10:44PM

16
#257 - MS / @schrectacular

06/16/2017 at 09:00PM

16
#258 - Paul Inc / @hiniol1982

07/19/2017 at 05:42AM

16
#259 - FYN / @FYN_YEAH

08/30/2017 at 11:06AM

16
#260 - garry quested / @GQuested

09/30/2017 at 01:08PM

16
#261 - z0c / @zerocabal

06/11/2018 at 03:35PM

16
#262 - Ivo Blöchliger / @aigledesalpes

08/15/2019 at 07:24PM

16
#263 - RockerZZY / @rocker_zzy

06/07/2020 at 04:17AM

16
#264 - Rafal C. / @RafalC37709324

11/17/2020 at 09:04PM

16
#265 - Philipp Schilk / @TheSchilk

03/21/2022 at 07:54PM

16
#266 - quemeraisc / @quemeraisc

06/02/2022 at 09:35AM

17
#267 - Antonio De Luna / @Tony_1917

09/24/2014 at 02:35AM

17
#268 - zhuochun / @zhuochun

09/24/2014 at 07:26AM

17
#269 - Noah Ruderman / @noahc66260

09/27/2014 at 07:32AM

17
#270 - 土ヤ / @ttsuchiya

09/28/2014 at 09:06AM