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 51e023f92b2f6d0002000066

Hole-in-one

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

Start file
    
        o
        |


                                     |>
                                     |
                                    ( )
End file
    
        
        
          _

                                     |>
                                     |
                                    (o)

View Diff

3,5c3,5
<         o
<         |
< 
---
>         
>         
>           _
9c9
<                                     ( )
---
>                                     (o)

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 296 remaining solutions by signing in and submitting your own entry
#297 Brian Peiris / @brianpeiris - Score: 43 - 12/28/13 @ 05:28
/|<CR>:se vir<Tab>=a<Tab><BS>ll<CR>jlls_<Esc>kkb<C-V>jd<Esc>/(<CR>2s(o<Esc>:wq<CR>

0 comments


Created by: @boyfromkansas

297 active golfers, 973 entries

Leaderboard (lowest score wins):
20
#181 - John Honaker / @MisterMentat

07/13/2013 at 02:19PM

20
#182 - powertomato / @powertomato

07/14/2013 at 11:19PM

20
#183 - William Snyders / @iam2391212

07/15/2013 at 05:38PM

20
#184 - Ian Oxley / @ianoxley

07/17/2013 at 02:38PM

20
#185 - Rainer Koirikivi / @rkoiriki

07/18/2013 at 08:48AM

20
#186 - jmpak / @jmpak

08/08/2013 at 12:30AM

20
#187 - Fernando Axel Ellis / @Axel_Ellis

09/13/2013 at 08:40PM

20
#188 - Krowd.io / @krowd_io

10/14/2013 at 07:53PM

20
#189 - Ben Lambeth / @azy2_ben

02/13/2014 at 01:20PM

20
#190 - Jacob / @jayekub

03/23/2014 at 03:09AM

20
#191 - Lance Levine / @LanceSMLevine

04/02/2014 at 05:05AM

20
#192 - Alex Bartol / @alexbartol

05/05/2015 at 07:55PM

20
#193 - Walker Boh / @walker_boh

10/08/2015 at 10:59AM

20
#194 - Cristian Lupașcu / @clupasq

05/06/2016 at 12:04PM

20
#195 - POSIX / @po6ix

01/22/2022 at 04:10PM

21
#196 - Jason Davidson / @aka_lingy

08/24/2013 at 06:19PM

21
#197 - Risabellah / @Risabellah

08/26/2013 at 10:37PM

21
#198 - Oliver Caldwell / @OliverCaldwell

08/27/2013 at 11:27AM

21
#199 - jDeveloper / @jDevEE

09/12/2013 at 08:12AM

21
#200 - nona urbiz / @nospampleasemam

09/28/2013 at 06:17AM

21
#201 - Marcin Szamotulski / @me_coot

10/10/2013 at 05:51AM

21
#202 - Juho Jokelainen / @juhojokelainen

12/09/2013 at 09:40PM

21
#203 - WoljaIlpapa / @WoljaIlpapa

12/19/2013 at 06:59AM

21
#204 - Yann Moisan / @YannMoisan

01/01/2014 at 02:53PM

21
#205 - Lucius L. Hilley III / @unkmar

02/27/2014 at 11:04AM

21
#206 - Regina Klotz / @groberklotz

03/28/2014 at 03:22PM

21
#207 - iamevn / @iamevn

07/08/2014 at 04:38PM

21
#208 - Blake / @blkbsstt

08/08/2014 at 06:54AM

21
#209 - AC / @quadface

08/23/2014 at 06:24PM

21
#210 - Carlos A Henríquez Q / @lagunex

01/19/2015 at 12:57PM