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):
18
#121 - Dimitar Dimitrov / @kurkale6ka

10/17/2013 at 11:26AM

18
#122 - Chris Ford / @ctford

10/20/2013 at 08:37AM

18
#123 - bunnies president / @bunnies4p

10/22/2013 at 08:36PM

18
#124 - Alfred Singlestone / @ASinglestone

11/15/2013 at 07:14AM

18
#125 - Quota / @Quotad

01/10/2014 at 03:45PM

18
#126 - Christian Welle / @welle_tw

01/20/2014 at 10:57PM

18
#127 - Matthew Draper / @_matthewd

02/28/2014 at 02:52PM

18
#128 - Amit Verma / @amitv12

03/30/2014 at 04:50AM

18
#129 - ZorgroZ / @ZorgroZ

04/11/2014 at 12:16AM

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

04/11/2014 at 04:32AM

18
#131 - onthos / @onthos_

04/25/2014 at 08:21AM

18
#132 - Sntano Euhsk / @SEuhsk

06/06/2014 at 05:12PM

18
#133 - Jacob Branaugh / @jacobbranaugh

06/25/2014 at 08:32PM

18
#134 - Juan Luis / @rufianw

07/03/2014 at 11:31AM

18
#135 - magizbox / @rain_1024

07/15/2014 at 06:26AM

18
#136 - Dominik Szerszeń / @DominikSze

08/04/2014 at 09:53AM

18
#137 - Daniel / @dazn159

08/15/2014 at 10:31PM

18
#138 - Matt / @mcr05

01/18/2015 at 06:33PM

18
#139 - 알카포 / @alkpo12

09/09/2016 at 08:29AM

18
#140 - Michał Dytko / @DytkoM

12/23/2016 at 01:27PM

18
#141 - Yann / @yannstad

03/01/2017 at 07:29PM

19
#142 - Volodymyr / @vkrest

07/13/2013 at 12:05PM

19
#143 - mnx / @mnxx

07/15/2013 at 12:08PM

19
#144 - Matt Creenan / @mcreenan

07/17/2013 at 12:46AM

19
#145 - Larry Zappaterrini / @lazappa

07/18/2013 at 05:38AM

19
#146 - Dr Rev J. “I am not a bot!” Kirchartz, KSC, KHS / @JKirchartz

07/20/2013 at 01:34PM

19
#147 - Jeroen van der Neut / @jvdneut

07/21/2013 at 01:24PM

19
#148 - Joel Taylor / @joelteon_

07/23/2013 at 01:49AM

19
#149 - Tóth Balázs / @tthbalazs

07/23/2013 at 03:43PM

19
#150 - Justin Le / @mstk

07/24/2013 at 07:27AM