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

286 active golfers, 929 entries

Leaderboard (lowest score wins):
15
#1 - Emil Soman / @emilsoman

06/02/2014 at 07:43PM

15
#2 - David / @Latiku

08/25/2017 at 01:56PM

16
#3 - Bradd Szonye / @bszonye

07/13/2013 at 03:04AM

16
#4 - Urtica dioica / @udioica

07/13/2013 at 03:17AM

16
#5 - Petro Тrouq / @zulolosi

07/13/2013 at 11:24AM

16
#6 - Aaron Bieber / @aaronbieber

07/13/2013 at 04:59PM

16
#7 - eWaves / @GiulioBortot

07/14/2013 at 08:37PM

16
#8 - Roland Schatz / @fl_Overmind

07/14/2013 at 11:00PM

16
#9 - Luke Walsh / @boyfromkansas

07/16/2013 at 03:53PM

16
#10 - Andy Balaam / @andybalaam

07/17/2013 at 01:53PM

16
#11 - James Davis / @tripvg

07/17/2013 at 08:09PM

16
#12 - Bruno Sutic / @brunosutic

07/18/2013 at 03:55AM

16
#13 - Ingo / @ist3fani

07/18/2013 at 06:12PM

16
#14 - ———đίxίє—flαтlίиє——— / @_dixie_flatline

07/19/2013 at 06:30PM

16
#15 - Armand Halbert / @armandhalbert

08/07/2013 at 05:15PM

16
#16 - Christopher Green / @cg433n

08/12/2013 at 04:26AM

16
#17 - Andrew / @vimGolfAndrew

08/15/2013 at 10:35PM

16
#18 - Jiří Chára / @JiriChara

08/21/2013 at 02:23PM

16
#19 - Barry Nichols / @Barry_Nichols

08/26/2013 at 07:16AM

16
#20 - Abdel Said / @abdelsaid

08/26/2013 at 11:14PM

16
#21 - Dan / @dan_winkler

08/28/2013 at 12:57AM

16
#22 - Leif Bladt / @leifbladt

08/29/2013 at 09:55AM

16
#23 - Joey Twiddle / @joeytwiddle

09/01/2013 at 01:38AM

16
#24 - Matěj Nikl / @MatejNikl

09/09/2013 at 06:57PM

16
#25 - Rafa Garcia / @fafa

09/11/2013 at 10:25AM

16
#26 - Stephen Drodge / @sjdrodge

09/12/2013 at 02:36AM

16
#27 - Dary Merckens / @merckens

09/23/2013 at 04:31PM

16
#28 - Throw Away / @throwaway111111

10/01/2013 at 11:49PM

16
#29 - StarkHalo / @hellektor

10/07/2013 at 12:35PM

16
#30 - Jamie Schembri / @shkm

10/09/2013 at 07:42PM