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

305 active golfers, 1024 entries

Leaderboard (lowest score wins):
19
#181 - Michi Loro / @michiloro

07/14/2014 at 11:51AM

19
#182 - RiccardoSven Risuleo / @riccardosven

07/17/2014 at 01:21PM

19
#183 - r. / @rmarvie

12/19/2014 at 11:34AM

19
#184 - David English / @Nglish26

03/07/2015 at 01:06AM

19
#185 - Chenut Ludovic / @7Brwa7

04/05/2016 at 03:13PM

19
#186 - Arijus / @argshook

09/28/2018 at 11:52AM

19
#187 - James / @Dronak

11/04/2022 at 02:51PM

20
#188 - John Honaker / @MisterMentat

07/13/2013 at 02:19PM

20
#189 - powertomato / @powertomato

07/14/2013 at 11:19PM

20
#190 - William Snyders / @iam2391212

07/15/2013 at 05:38PM

20
#191 - Ian Oxley / @ianoxley

07/17/2013 at 02:38PM

20
#192 - Rainer Koirikivi / @rkoiriki

07/18/2013 at 08:48AM

20
#193 - jmpak / @jmpak

08/08/2013 at 12:30AM

20
#194 - Fernando Axel Ellis / @Axel_Ellis

09/13/2013 at 08:40PM

20
#195 - Krowd.io / @krowd_io

10/14/2013 at 07:53PM

20
#196 - Ben Lambeth / @azy2_ben

02/13/2014 at 01:20PM

20
#197 - Jacob / @jayekub

03/23/2014 at 03:09AM

20
#198 - Lance Levine / @LanceSMLevine

04/02/2014 at 05:05AM

20
#199 - Alex Bartol / @alexbartol

05/05/2015 at 07:55PM

20
#200 - Walker Boh / @walker_boh

10/08/2015 at 10:59AM

20
#201 - Cristian Lupașcu / @clupasq

05/06/2016 at 12:04PM

20
#202 - POSIX / @po6ix

01/22/2022 at 04:10PM

21
#203 - Jason Davidson / @aka_lingy

08/24/2013 at 06:19PM

21
#204 - Risabellah / @Risabellah

08/26/2013 at 10:37PM

21
#205 - Oliver Caldwell / @OliverCaldwell

08/27/2013 at 11:27AM

21
#206 - jDeveloper / @jDevEE

09/12/2013 at 08:12AM

21
#207 - nona urbiz / @nospampleasemam

09/28/2013 at 06:17AM

21
#208 - Marcin Szamotulski / @me_coot

10/10/2013 at 05:51AM

21
#209 - Juho Jokelainen / @juhojokelainen

12/09/2013 at 09:40PM

21
#210 - WoljaIlpapa / @WoljaIlpapa

12/19/2013 at 06:59AM