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

297 active golfers, 973 entries

Leaderboard (lowest score wins):
22
#241 - Tom Layte / @tlayte

07/19/2014 at 12:42AM

22
#242 - Chris Trotman / @solarnz

10/06/2014 at 03:07AM

22
#243 - Kevin Merlin / @mp3merlin

09/21/2015 at 12:42PM

22
#244 - Kyouma / @kyoumaJohn

10/14/2016 at 06:56PM

22
#245 - Peter Chynoweth / @pcchynoweth

02/06/2017 at 07:51PM

22
#246 - RockerZZY / @rocker_zzy

06/10/2020 at 04:34AM

23
#247 - bazinga / @___bazinga___

07/12/2013 at 04:28PM

23
#248 - Christopher Bahr / @bahrware

07/12/2013 at 06:26PM

23
#249 - Fuad Saud / @fuadsaud

07/20/2013 at 08:56PM

23
#250 - Christophe de Vienne / @cmdevienne

08/03/2013 at 07:50AM

23
#251 - codegourmet / @codegourmet

10/02/2013 at 07:23AM

23
#252 - Billy Ripper / @dirtlamb5

10/23/2013 at 07:09AM

23
#253 - Russ Adams / @rustushki

12/24/2013 at 09:20PM

23
#254 - Johan Berg / @_berg85

01/03/2014 at 12:42PM

23
#255 - a / @asdfsdafdsfdsaf

01/04/2014 at 02:29AM

23
#256 - tacr / @tacr4

02/14/2014 at 06:02PM

23
#257 - barnabaguy / @barnabaguy

02/17/2014 at 10:16PM

23
#258 - Evan Coleman / @edc1591

04/30/2015 at 06:15PM

23
#259 - Martynas Bardauskas / @mbardauskas

09/28/2018 at 11:51AM

23
#260 - Lory / @Lory46845742

11/20/2019 at 12:45PM

24
#261 - kim h madsen / @kim_h_madsen

07/15/2013 at 06:28PM

24
#262 - Vestrobaa / @Vestrobaa

07/18/2013 at 09:05PM

24
#263 - James / @Dronak

08/29/2013 at 09:22PM

24
#264 - Marian Vevurka / @MVevurka

10/17/2013 at 03:49PM

24
#265 - Eric Potter / @pottereric

10/27/2013 at 01:03AM

24
#266 - Larry Boltovskoi / @larrybolt

12/08/2013 at 01:07AM

24
#267 - curist / @curist

01/16/2014 at 03:10AM

24
#268 - n.st / @0013901644043f9

02/03/2014 at 04:06AM

24
#269 - Huy Zing / @huyzing

02/13/2014 at 08:48AM

24
#270 - ren / @wxoc

02/20/2014 at 10:06AM