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 by @GavinKoeng:

Unlock 15 remaining solutions by signing in and submitting your own entry
Created by: @boyfromkansas

308 active golfers, 1041 entries

Solutions by @GavinKoeng:
15
#6 - Gavin / @GavinKoeng

05/20/2026 at 01:42AM

16
#>99 - Gavin / @GavinKoeng

05/19/2026 at 11:42PM

16
#>99 - Gavin / @GavinKoeng

05/19/2026 at 11:42PM

17
#>113 - Gavin / @GavinKoeng

05/19/2026 at 11:42PM

18
#>149 - Gavin / @GavinKoeng

05/19/2026 at 11:40PM

19
#>190 - Gavin / @GavinKoeng

05/19/2026 at 11:40PM

20
#>205 - Gavin / @GavinKoeng

05/19/2026 at 11:40PM

20
#>205 - Gavin / @GavinKoeng

05/19/2026 at 11:40PM

21
#>227 - Gavin / @GavinKoeng

05/19/2026 at 11:39PM

22
#>256 - Gavin / @GavinKoeng

05/19/2026 at 11:39PM

24
#>287 - Gavin / @GavinKoeng

05/19/2026 at 11:39PM

25
#>292 - Gavin / @GavinKoeng

05/19/2026 at 11:38PM

26
#>297 - Gavin / @GavinKoeng

05/19/2026 at 11:36PM

27
#>298 - Gavin / @GavinKoeng

05/19/2026 at 11:37PM

28
#>299 - Gavin / @GavinKoeng

05/19/2026 at 11:35PM