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):
18
#121 - Arthur叔 / @Arthurljg

08/31/2013 at 10:53AM

18
#122 - Colin Garriga-Salaün / @cgarrigasalaun

09/25/2013 at 08:42PM

18
#123 - Arthur LEDARD / @arthur_yaal

09/26/2013 at 04:51PM

18
#124 - Grégoire Delattre / @gregdel

10/08/2013 at 09:45PM

18
#125 - Tyler / @tylerbindon

10/13/2013 at 05:05AM

18
#126 - Zenk Alia / @zenkalia

10/17/2013 at 01:37AM

18
#127 - Dimitar Dimitrov / @kurkale6ka

10/17/2013 at 11:26AM

18
#128 - Chris Ford / @ctford

10/20/2013 at 08:37AM

18
#129 - bunnies president / @bunnies4p

10/22/2013 at 08:36PM

18
#130 - Alfred Singlestone / @ASinglestone

11/15/2013 at 07:14AM

18
#131 - Quota / @Quotad

01/10/2014 at 03:45PM

18
#132 - Christian Welle / @welle_tw

01/20/2014 at 10:57PM

18
#133 - Matthew Draper / @_matthewd

02/28/2014 at 02:52PM

18
#134 - Amit Verma / @amitv12

03/30/2014 at 04:50AM

18
#135 - ZorgroZ / @ZorgroZ

04/11/2014 at 12:16AM

18
#136 - ところたん / @tokoro10g

04/11/2014 at 04:32AM

18
#137 - onthos / @onthos_

04/25/2014 at 08:21AM

18
#138 - Sntano Euhsk / @SEuhsk

06/06/2014 at 05:12PM

18
#139 - Jacob Branaugh / @jacobbranaugh

06/25/2014 at 08:32PM

18
#140 - Juan Luis / @rufianw

07/03/2014 at 11:31AM

18
#141 - magizbox / @rain_1024

07/15/2014 at 06:26AM

18
#142 - Dominik Szerszeń / @DominikSze

08/04/2014 at 09:53AM

18
#143 - Daniel / @dazn159

08/15/2014 at 10:31PM

18
#144 - Matt / @mcr05

01/18/2015 at 06:33PM

18
#145 - 알카포 / @alkpo12

09/09/2016 at 08:29AM

18
#146 - Michał Dytko / @DytkoM

12/23/2016 at 01:27PM

18
#147 - Yann / @yannstad

03/01/2017 at 07:29PM

19
#148 - Volodymyr / @vkrest

07/13/2013 at 12:05PM

19
#149 - mnx / @mnxx

07/15/2013 at 12:08PM

19
#150 - Matt Creenan / @mcreenan

07/17/2013 at 12:46AM