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):
25
#271 - Chris / @143Pi

03/28/2014 at 03:21PM

25
#272 - A / @a_akessler

08/27/2014 at 05:05PM

25
#273 - Alain / @ducouloa

12/01/2015 at 08:15PM

26
#274 - Tom Cammann / @tea_sea

05/12/2014 at 04:34PM

26
#275 - Brian Peck / @bpeck614

06/11/2014 at 06:04AM

26
#276 - João Carvalho / @joaoCarvas

07/18/2014 at 10:50PM

26
#277 - Raynard, Jordan / @raynard_jordan

01/14/2015 at 03:48PM

26
#278 - Oliver Christ / @0liverChrist

02/08/2015 at 08:58PM

27
#279 - Gurukandhamoorthi / @Gurukandhamoor1

07/13/2017 at 09:01AM

29
#280 - brett / @brettyukich

09/18/2013 at 11:01AM

29
#281 - Markus / @ARealAnnoyance

07/26/2019 at 07:35PM

30
#282 - Daniel Gray / @DanielFGray

10/15/2013 at 08:43AM

32
#283 - w1zeman1p / @wizemanip

05/11/2014 at 04:45AM

33
#284 - Helmut Irle / @psyonara

07/19/2013 at 11:25AM

34
#285 - Adam Quentin / @AdamQuentin2

07/23/2013 at 03:45PM

34
#286 - Zack Brown / @ztbrown

06/30/2014 at 06:30PM

35
#287 - Justin Thomas / @base698

04/17/2014 at 11:28PM

43
#288 - Brian Peiris / @brianpeiris

12/28/2013 at 05:28AM