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):
21
#211 - Yann Moisan / @YannMoisan

01/01/2014 at 02:53PM

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

02/27/2014 at 11:04AM

21
#213 - Regina Klotz / @groberklotz

03/28/2014 at 03:22PM

21
#214 - iamevn / @iamevn

07/08/2014 at 04:38PM

21
#215 - Blake / @blkbsstt

08/08/2014 at 06:54AM

21
#216 - AC / @quadface

08/23/2014 at 06:24PM

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

01/19/2015 at 12:57PM

21
#218 - Jake Eskel / @JakeEskel

02/04/2015 at 12:09AM

21
#219 - Gerald Tilma / @GeraldTilma

10/19/2015 at 04:36AM

21
#220 - amu uma / @amuumaamuuma

01/12/2016 at 05:41AM

21
#221 - daHueby / @daHueby

01/10/2017 at 10:46AM

21
#222 - tPenguinLTG / @tpenguinltg

07/03/2017 at 01:37AM

21
#223 - 杨洋 / @176795444

07/16/2017 at 10:32AM

21
#224 - Nicholas Ockmsson / @Nockm

05/05/2018 at 09:48AM

22
#225 - Justin / @justinjaffray

07/12/2013 at 06:16PM

22
#226 - Bruce Woodward / @Bruce_Woodward

07/13/2013 at 01:13AM

22
#227 - jessepye / @jessepye

07/17/2013 at 07:32PM

22
#228 - Pedro Melgueira / @petermlm

07/21/2013 at 05:06PM

22
#229 - cj / @cj01101

08/03/2013 at 07:15PM

22
#230 - Guillaume Seren / @guillaumeseren

08/26/2013 at 11:24AM

22
#231 - meitham / @meitham

08/27/2013 at 07:31PM

22
#232 - moo goo / @m00g000

09/05/2013 at 08:15PM

22
#233 - Ben Miller / @Nephi12Ben

10/15/2013 at 06:21AM

22
#234 - Milind Ganjoo / @mganjoo

11/02/2013 at 11:17PM

22
#235 - Edgar Hipp / @EdgarHipp

11/14/2013 at 06:21PM

22
#236 - Davey Struijk / @daveystruijk

01/04/2014 at 01:48PM

22
#237 - Andreas Källberg / @Anka213

01/17/2014 at 12:19AM

22
#238 - Travis Millott / @ritherz

01/21/2014 at 11:55PM

22
#239 - Omer Lachish / @rauchy

01/28/2014 at 02:04PM

22
#240 - Connor Warnock / @connorwarnock

01/29/2014 at 02:54AM