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):
16
#91 - Viktor Styrud / @ViktorStyrud

11/20/2019 at 11:22AM

16
#92 - Miłosz Łakomy / @foobar01123

12/09/2019 at 06:54AM

16
#93 - Jean George / @JeanGeo20504212

01/03/2022 at 02:30PM

16
#94 - russellzhaomao / @russellzhaomao

06/12/2022 at 01:45AM

16
#95 - Alex / @AlexanderHeatl2

07/08/2022 at 10:06PM

16
#96 - Janzen / @__Coos

09/26/2022 at 12:59PM

16
#97 - みずの/RUNTEQ43期 / @nozumi_program

07/22/2023 at 01:15PM

16
#98 - Vsevolod Rychkov / @MadPigeon

04/29/2025 at 12:36PM

17
#99 - Kai Yuan / @kentyuan

07/12/2013 at 05:07PM

17
#100 - RobertT / @techrt2050

07/13/2013 at 07:15AM

17
#101 - Tim Chase / @gumnos

07/13/2013 at 11:30AM

17
#102 - Koen De Causmaecker / @KoenCaus

02/03/2014 at 05:51AM

17
#103 - Bart Nagel / @bjnagel

02/20/2014 at 09:46AM

17
#104 - oliver mueller / @marcontwit

02/25/2014 at 04:53PM

17
#105 - Hannes Remahl / @hannesr

02/27/2014 at 02:10PM

17
#106 - Kerson Hsiao / @KersonHsiao

03/06/2014 at 09:12AM

17
#107 - Jeff / @just_geophree

03/30/2014 at 02:28AM

17
#108 - LC / @leeren

08/09/2014 at 07:15PM

17
#109 - Robert Goeddel / @f0rdpr3fect

11/10/2015 at 11:27PM

17
#110 - TweetDreams / @TweetMusicians

10/15/2016 at 11:28PM

17
#111 - Mihai / @mihaicristiant

12/24/2018 at 02:57PM

18
#112 - Steve Tjoa / @stevetjoa

07/12/2013 at 05:27PM

18
#113 - Huu Nguyen / @huudev

07/13/2013 at 12:27AM

18
#114 - Victor I. Metis / @VictorIMetis

07/15/2013 at 09:32AM

18
#115 - Tom Gould / @tomgould92

07/16/2013 at 10:37PM

18
#116 - Vim Golfer / @vim_golfer

07/17/2013 at 09:05PM

18
#117 - Heath Patterson / @HeathPatterson

08/01/2013 at 08:44PM

18
#118 - Nathan / @NathanHarperoni

08/04/2013 at 12:02AM

18
#119 - _ky_ / @ultimate_ky

08/15/2013 at 07:18PM

18
#120 - Tyler HT Cipriani / @tylercipriani

08/29/2013 at 03:43PM