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

305 active golfers, 1024 entries

Leaderboard (lowest score wins):
22
#241 - mattsalacain / @mattsalacain

01/31/2014 at 07:29PM

22
#242 - Zudov / @zudov_me

02/05/2014 at 06:57PM

22
#243 - Vitalii / @veelenga

02/15/2014 at 09:54PM

22
#244 - Gennadiy Leyfer / @gleyfer

02/23/2014 at 11:48PM

22
#245 - Jake Eaton / @Jake__Eaton

06/01/2014 at 06:44AM

22
#246 - Rob Glew / @RealGlew

06/05/2014 at 08:39PM

22
#247 - TapTemplate / @TapTemplate

06/28/2014 at 01:42AM

22
#248 - Tom Layte / @tlayte

07/19/2014 at 12:42AM

22
#249 - Chris Trotman / @solarnz

10/06/2014 at 03:07AM

22
#250 - Kevin Merlin / @mp3merlin

09/21/2015 at 12:42PM

22
#251 - Kyouma / @kyoumaJohn

10/14/2016 at 06:56PM

22
#252 - Peter Chynoweth / @pcchynoweth

02/06/2017 at 07:51PM

22
#253 - RockerZZY / @rocker_zzy

06/10/2020 at 04:34AM

23
#254 - bazinga / @___bazinga___

07/12/2013 at 04:28PM

23
#255 - Christopher Bahr / @bahrware

07/12/2013 at 06:26PM

23
#256 - Fuad Saud / @fuadsaud

07/20/2013 at 08:56PM

23
#257 - Christophe de Vienne / @cmdevienne

08/03/2013 at 07:50AM

23
#258 - codegourmet / @codegourmet

10/02/2013 at 07:23AM

23
#259 - Billy Ripper / @dirtlamb5

10/23/2013 at 07:09AM

23
#260 - Russ Adams / @rustushki

12/24/2013 at 09:20PM

23
#261 - Johan Berg / @_berg85

01/03/2014 at 12:42PM

23
#262 - a / @asdfsdafdsfdsaf

01/04/2014 at 02:29AM

23
#263 - tacr / @tacr4

02/14/2014 at 06:02PM

23
#264 - barnabaguy / @barnabaguy

02/17/2014 at 10:16PM

23
#265 - Evan Coleman / @edc1591

04/30/2015 at 06:15PM

23
#266 - Martynas Bardauskas / @mbardauskas

09/28/2018 at 11:51AM

23
#267 - Lory / @Lory46845742

11/20/2019 at 12:45PM

23
#268 - Hugh / @deeoh22

12/14/2022 at 12:50AM

24
#269 - kim h madsen / @kim_h_madsen

07/15/2013 at 06:28PM

24
#270 - Vestrobaa / @Vestrobaa

07/18/2013 at 09:05PM