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

288 active golfers, 936 entries

Leaderboard (lowest score wins):
17
#91 - Bart Nagel / @bjnagel

02/20/2014 at 09:46AM

17
#92 - oliver mueller / @marcontwit

02/25/2014 at 04:53PM

17
#93 - Hannes Remahl / @hannesr

02/27/2014 at 02:10PM

17
#94 - Kerson Hsiao / @KersonHsiao

03/06/2014 at 09:12AM

17
#95 - Jeff / @just_geophree

03/30/2014 at 02:28AM

17
#96 - LC / @leeren

08/09/2014 at 07:15PM

17
#97 - Robert Goeddel / @f0rdpr3fect

11/10/2015 at 11:27PM

17
#98 - TweetDreams / @TweetMusicians

10/15/2016 at 11:28PM

17
#99 - Mihai / @mihaicristiant

12/24/2018 at 02:57PM

18
#100 - Steve Tjoa / @stevetjoa

07/12/2013 at 05:27PM

18
#101 - Huu Nguyen / @huudev

07/13/2013 at 12:27AM

18
#102 - Victor I. Metis / @VictorIMetis

07/15/2013 at 09:32AM

18
#103 - Tom Gould / @tomgould92

07/16/2013 at 10:37PM

18
#104 - Vim Golfer / @vim_golfer

07/17/2013 at 09:05PM

18
#105 - Heath Patterson / @HeathPatterson

08/01/2013 at 08:44PM

18
#106 - Nathan / @NathanHarperoni

08/04/2013 at 12:02AM

18
#107 - _ky_ / @ultimate_ky

08/15/2013 at 07:18PM

18
#108 - Tyler HT Cipriani / @tylercipriani

08/29/2013 at 03:43PM

18
#109 - Arthur叔 / @Arthurljg

08/31/2013 at 10:53AM

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

09/25/2013 at 08:42PM

18
#111 - Arthur LEDARD / @arthur_yaal

09/26/2013 at 04:51PM

18
#112 - Grégoire Delattre / @gregdel

10/08/2013 at 09:45PM

18
#113 - Tyler / @tylerbindon

10/13/2013 at 05:05AM

18
#114 - Zenk Alia / @zenkalia

10/17/2013 at 01:37AM

18
#115 - Dimitar Dimitrov / @kurkale6ka

10/17/2013 at 11:26AM

18
#116 - Chris Ford / @ctford

10/20/2013 at 08:37AM

18
#117 - bunnies president / @bunnies4p

10/22/2013 at 08:36PM

18
#118 - Alfred Singlestone / @ASinglestone

11/15/2013 at 07:14AM

18
#119 - Quota / @Quotad

01/10/2014 at 03:45PM

18
#120 - Christian Welle / @welle_tw

01/20/2014 at 10:57PM