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):
15
#121 - Baine Wedlock / @BaineWedlock

10/01/2019 at 01:41PM

15
#122 - Melvin Cheung / @MelvinCheung

11/12/2019 at 02:16AM

15
#123 - etherflow / @etherfl0w

03/31/2020 at 07:18PM

15
#124 - Samir Khan / @stats_samir

05/27/2020 at 02:52AM

15
#125 - mindgitrwx / @mindgitrwx

08/17/2020 at 01:27AM

15
#126 - x03n046 / @x03n046

05/13/2022 at 01:30AM

16
#127 - James / @Dronak

09/23/2014 at 11:26PM

16
#128 - RobertT / @techrt2050

09/24/2014 at 01:11AM

16
#129 - Alexandre Ignjatovic / @bankair

09/24/2014 at 07:09AM

16
#130 - Eduardo / @earada

09/24/2014 at 08:18AM

16
#131 - Kolja Wilcke / @01k

09/24/2014 at 09:07AM

16
#132 - Jakob / @jajob

09/24/2014 at 02:45PM

16
#133 - Michael Comerford / @MComerford1

09/24/2014 at 03:06PM

16
#134 - Dario Avitabile / @tutticapaci

09/24/2014 at 03:09PM

16
#135 - Brian Olpin / @bolpin

09/24/2014 at 04:27PM

16
#136 - Chriss / @sattelite93

09/24/2014 at 10:57PM

16
#137 - Kristof Vannotten / @kristofv

09/25/2014 at 09:52AM

16
#138 - Bart / @oneofmanybarts

09/25/2014 at 11:20AM

16
#139 - Steve Tjoa / @stevetjoa

09/26/2014 at 02:13AM

16
#140 - supasnashbuhl / @supasnashbuhl

09/26/2014 at 09:01AM

16
#141 - Michi Loro / @michiloro

09/26/2014 at 12:16PM

16
#142 - winterlight / @winterlight4

09/26/2014 at 06:32PM

16
#143 - simonced / @simonced

09/27/2014 at 01:06PM

16
#144 - Vim Golfer / @thevimgolfer

09/28/2014 at 10:18AM

16
#145 - Lieven Keersmaekers / @LievenKeersmaek

09/28/2014 at 11:12AM

16
#146 - Robbie Clarken / @robbieclarken

09/29/2014 at 11:05AM

16
#147 - blamitter ✏️ / @blamitter

09/29/2014 at 07:13PM

16
#148 - Felipe Jaramillo F / @mrfelipe

09/29/2014 at 09:29PM

16
#149 - Nate Eagleson / @NateEag

09/30/2014 at 03:05AM

16
#150 - Marcin Szamotulski / @me_coot

09/30/2014 at 08:39AM